I tried this for real: I hurt my fingers on the light switches, my electric bill went up $30 before my wife left me, then my house caught fire due to electical overload and burned to the ground, the neighbors called 911 to report arson, and the local sheriff arrested me as a suspected psycho trying to contact aliens by flashing messages in morse code! To top it all, I used up over 300 light bulbs before the law threw me in the nervous hospital with padded walls and bars on the windows. Help!
Great brainteaser! Though not particularly the most difficult one, it's still fun to solve :D Oh yeah, and @crille12300 I think he's drawing with a tablet of some sort, because he's writing really really fast for mouse-based writing.
DONT READ THIS CAUSE IT REALLY WORKS,YOU WILL GET KISSED ON THE NEAREST POSSIBLE FRIDAY BY THE LOVE OF YOU"RE LIFE,TOMORROW WILL BE THE BEST DAY OF YOUR LIFE,HOWEVER IF YOU DONT POST THIS COMMENT TO OVER 3 VIDEOS OR YOU WILL DIE WITHIN 2 DAYS,NOW YOU STARTED READING DONT STOP,THIS IS SO SCARY POST THIS TO OVER FIVE VIDEOS IN 143 MINUTES WHEN YOUR"RE DONE PRESS F6 AND YOUR CRUSHES NAME WILL APPEAR ON THE SCREEN IN BIG LETTERS,THIS IS SO SCARY BUT IT REALLY WORKS
The other interesting property which you could teach is that the squares of prime numbers have only 3 factors and no more!! Just thought I could point that out over here.
Could have taken this opportunity to give a small calculus lesson. When graphing the perfect squares as a function of x (x=1, y=1; x=2, y=4, x=3, y=9, etc), the difference between the differences (3,5,7,9, etc) (double differential) is 2, which is the double derivative of x^2 with respect to x.
I cheated with excel. the results are pretty sweet. if you apply conditional formating using colors representing on and off, and then expand the problem to like 1000 bulbs and 1000 passes it's even cooler.
Nice vid. I thought the question was a little easy though, since I instantly thought of the Sieve of Eratosthenes. After that I thought about factors and such, but I learned a little interesting tidbit of number theory through the process.
Also, I wrote a python script to solve this question.
I have one question trough, Its there some quick solve for this kind of problem: you have n light bulbs, each light bulbs will be switched for a given interval k (<n) for z intervals how many light bulbs will be on? for example: n = 5; z = 3; k = [2,3,1] <- 3 numbers as z so the passes: 1. 0 0 0 0 0 2. 0 1 0 1 0 (for 2) 3. 0 1 1 1 0 (for 3) 4. 1 0 0 0 1 (for 1) So here the answer is 2 light bulbs are on. but the problem is that n can be 99999999 so I need I quick solve or some kind of systematic
I did only come to the point that it is the ones with an uneven number of divisors, I didn't figure out that those are only the perfect squares. Pretty cool :)
I figured it out in less than 5 minutes!
riveradn 15 hours ago
@alkoed Ha, that is so true. Though only 1 and 100 stay on because its skip counting by 100 no by squares.
starter605 3 weeks ago
None of them will be on because none of them were screwed in.
alkoed 1 month ago
it was soo easy after he explained it!!
aitm16 1 month ago
I tried this for real: I hurt my fingers on the light switches, my electric bill went up $30 before my wife left me, then my house caught fire due to electical overload and burned to the ground, the neighbors called 911 to report arson, and the local sheriff arrested me as a suspected psycho trying to contact aliens by flashing messages in morse code! To top it all, I used up over 300 light bulbs before the law threw me in the nervous hospital with padded walls and bars on the windows. Help!
91fatboy51 1 month ago
No wonder why I couldn't figure this brain teaser out, it's math! Regardless, I agree, this should be taught in public schools.
Justinfh2point0 1 month ago
This has been flagged as spam show
1:47
i have to get my mind out of the gutter.
ProductionPresents 1 month ago
Comment removed
ProductionPresents 1 month ago
Only the first lightbulb would still be on
xxflipflopxx13 2 months ago
those bulbs are going down
dominic2751997 2 months ago
thanks gret one sal!
isaiashernandez44 2 months ago
Great brainteaser! Though not particularly the most difficult one, it's still fun to solve :D Oh yeah, and @crille12300 I think he's drawing with a tablet of some sort, because he's writing really really fast for mouse-based writing.
kevi8991 2 months ago
This has been flagged as spam show
DONT READ THIS CAUSE IT REALLY WORKS,YOU WILL GET KISSED ON THE NEAREST POSSIBLE FRIDAY BY THE LOVE OF YOU"RE LIFE,TOMORROW WILL BE THE BEST DAY OF YOUR LIFE,HOWEVER IF YOU DONT POST THIS COMMENT TO OVER 3 VIDEOS OR YOU WILL DIE WITHIN 2 DAYS,NOW YOU STARTED READING DONT STOP,THIS IS SO SCARY POST THIS TO OVER FIVE VIDEOS IN 143 MINUTES WHEN YOUR"RE DONE PRESS F6 AND YOUR CRUSHES NAME WILL APPEAR ON THE SCREEN IN BIG LETTERS,THIS IS SO SCARY BUT IT REALLY WORKS
bboyjiz 3 months ago
Just amazing!
FantasticMetro 3 months ago
You are pretty good at drawing with the mouse.
crille12300 3 months ago
hmm, they all actually do increase odd numbers though.. didn't know that lol
beno2367 4 months ago
Solve it in a minute. Interesting video, although - I've seen better from you, Sal...
CosmosClinicAu 4 months ago
'Think' and 'see' for the answer; reason + imagination FTW
SonofOxford 5 months ago
After 100 pusses
freezeme360 5 months ago
Hey, Sal...this was toooooo easy! What happen? ;)
nzvelcom 6 months ago
Got it right! This is one of my favorites!
ethnolink 6 months ago
This is cool...and so simple! Good one! :)
CoolScienceAustralia 6 months ago
:...
gnomepunter63 6 months ago
I did it!
missypunkrocker 6 months ago
well im off to go buy 100 lightbulbs and 100 switches...
bryanfuel 7 months ago 4
Yeah 0 are on because there aren't any batteries.
Ninjoark 9 months ago
This has been flagged as spam show
Wrong :) 100 will be off.
valdas0 9 months ago
This is soooo easy. I solved it in one second. O.o All square numbers are switched on because they have odd number of factors.
wkdtjrghks 9 months ago
Fuck math
foroke1 10 months ago
This has been flagged as spam show
watch?v=JO7f4J6xHOY
Watch this, The (REAL) Brain Test. INSANELY HARD TO DO!!
Less than one percent of the Earth's human population can do this!
BrittanyBear3456 10 months ago
all the lights will be burnt out.
SSDsmiley 11 months ago 15
we will be finding the no. of divisors of the no.s
if its even it will be off
else on
Artisablast261 11 months ago
i thinks it 1
BeastyBoi101Rushezzz 11 months ago
This has been flagged as spam show
We hit it off so well after another visit busizz4me.info
ayasadisanyaka 1 year ago
I figured it out but it was still nice
ghfreakwierdo123 1 year ago
felt good to work out... even though it didnt take long... and you do have a great voice.
goldblend86 1 year ago
Very interesting!!!:)
But, gah, i have to admit i didn't get it!
kendroctopus 1 year ago
oooh ligh bulbs so retarted!
jigglopop2 1 year ago
The other interesting property which you could teach is that the squares of prime numbers have only 3 factors and no more!! Just thought I could point that out over here.
trajendran86 1 year ago
Could have taken this opportunity to give a small calculus lesson. When graphing the perfect squares as a function of x (x=1, y=1; x=2, y=4, x=3, y=9, etc), the difference between the differences (3,5,7,9, etc) (double differential) is 2, which is the double derivative of x^2 with respect to x.
ff2paladin 1 year ago
Comment removed
zOmgOdZ 1 year ago
Cool Puzzle :)) I think all the light bulbs will be burnt on 100th pass ^^
v8kiu 1 year ago
Comment removed
v8kiu 1 year ago
I made a java program for this once. so yeah all perfect squares are on after 100 passes.
nyra007 1 year ago
I did an excel spreadsheet. Thanks for the hint Sal.
boeing747200lr 1 year ago
as I read the discription "Turning light bulbs on and off." my light in my room turned on and off for a second - spooky xD
nejtilsvampe 1 year ago
That's well done. I figured it out right before he gave ALL the details, but I still needed some coaxing. I've lost my touch, it seems....
Zeratul723 1 year ago
mind is blown
mauroprovatos 1 year ago
I cheated with excel. the results are pretty sweet. if you apply conditional formating using colors representing on and off, and then expand the problem to like 1000 bulbs and 1000 passes it's even cooler.
eebamxela 1 year ago
1:49 then im going to come...
i laughed
mikeysomething 1 year ago
@mikeysomething lol same
MADxMANxLUKE 1 year ago
very good!
whyld2171 2 years ago
Pure math "stat" question! I need an equation lol
mohawow 2 years ago
If N is a perfect square then it has odd number of divisors. Conversely, if a number N has an odd number factors then it's a perfect sqaure.
melese1988 2 years ago
Thats actually really cool.
wexarexthexStorm 2 years ago
He has a cool voice.
XANDERXXZ 2 years ago 51
duh
isaiashernandez44 1 month ago
this problem is similar to the math problem involving the locker doors and the students.
rolfch1p 2 years ago
This comment has received too many negative votes show
FIRST!
Pet3rGr1ff1n 2 years ago
hahaha nice!! a little tedious at first but fucking awesome got my noggin going!
buchanass 2 years ago 3
thanks for your work.
i appriciate it.
mario1337 2 years ago 3
hope i enjoyed that?
i did
when i realized the thing about the perfect square right before you said it, i was just amazing
i enjoyed that quite a lot
kionay 2 years ago
c&o ftw
jacobromu 2 years ago
awesome!
thelastwords 2 years ago
This guy owns!
eNathan314 2 years ago
i solved this one like half a yr ago...
its pretty interesting. keep em coming!
Ren520 2 years ago 2
Do you know how to solve this problem?
acmp(dot)ru/index.asp?main=task&id_task=337 P.S. you can use google translate for translation.
There is no space in URL
spider853 2 years ago
Its at the end of the video.
XANDERXXZ 2 years ago
Another great video! Thanks for posting.
cwldoc 2 years ago
Nice vid. I thought the question was a little easy though, since I instantly thought of the Sieve of Eratosthenes. After that I thought about factors and such, but I learned a little interesting tidbit of number theory through the process.
Also, I wrote a python script to solve this question.
kombatwombat16 2 years ago
I got it right :-)
Used a different method though.
alternate method: let on =1, off = 0
I did ten passes for the first ten numbers so
pass 1: 1 1 1 1 1 1 1 1 1 1 ---------1
continuing to
pass10: 1 0 0 1 0 0 0 0 1 0 -------1
from there its just a matter of looking at the ones and zeros and coming up with the following solution.
1 (two zeros) 4 (four zeros) 9 (six zeros) etc.
its just a different way of thinking about things.
chankpop 2 years ago 3
that's exactly what I did too!
EFP055 2 years ago
enjoy i did
doomdart 2 years ago
that is cooooooool!
GuidoPerdomo 2 years ago
spider853 2 years ago
youtube have some kind of bug and putted some br's instead of enter (newline)
spider853 2 years ago
Comment removed
hendrix5045 2 years ago
Can noone see the video response that I made? I wrote a program that does this problem in C++. The link is youtube(dot)com /watch?v=0bm5HCDF7-0
hendrix5045 2 years ago
I know such a problem on a C++ testing site. Didn't resolve it because of resource limits. 1MB/1sec
spider853 2 years ago
awesome love tye prob
xhotshot12 2 years ago
Simple but genius!
Mattprole 2 years ago
Awesome man, I love watching these videos!
pmip247 2 years ago
I just posted a video response but it's not showing up. Did you get anything?
hendrix5045 2 years ago
No reason to hope I enjoyed it.... I definitely enjoyed that.
shootshoot 2 years ago
You could do another one of these... except only leave then lit if they have exactly two factors.
DURound 2 years ago
I did enjoy that.
siggyboss 2 years ago
Patterns are always interesting. Everywhere.
norwayte 2 years ago 20
@norwayte its confirmation bias THERE ARE NO PATTERNS THEY ARE ALL FAKE!
princeofexcess 1 year ago
I did only come to the point that it is the ones with an uneven number of divisors, I didn't figure out that those are only the perfect squares. Pretty cool :)
veers0r 2 years ago
This comment has received too many negative votes show
In before seeing answer.
10 lights.
All the perfect squares.
yuskei3 2 years ago
Got it right =D
yuskei3 2 years ago
That was pretty damn interesting! :)
ScotsmanRS 2 years ago
This has been flagged as spam show
1st
gosox773 2 years ago