Puzzler...
Moderator: Moderators
Puzzler...
Heard this one a while ago, thought I'd share it with you fellas...
Imagine you have a very long hall with 20,000 lightbulbs in line on it's ceiling. Now imagine one person goes through and turns each one on. Then a second guy goes through and pulls the swith of every other bulb (2,4,6,8...). Then a thrid pulls the switch of every third bulb(3,6,9,12...). This process repeats untill the 20,000th person does every 20,000th bulb (ie, just the last one).
Questions:
1) Will this bulb be on or off?
a)4
b)12
c)26
d)16,641
2) How do you know?
3) Which bulbs will be on?
Imagine you have a very long hall with 20,000 lightbulbs in line on it's ceiling. Now imagine one person goes through and turns each one on. Then a second guy goes through and pulls the swith of every other bulb (2,4,6,8...). Then a thrid pulls the switch of every third bulb(3,6,9,12...). This process repeats untill the 20,000th person does every 20,000th bulb (ie, just the last one).
Questions:
1) Will this bulb be on or off?
a)4
b)12
c)26
d)16,641
2) How do you know?
3) Which bulbs will be on?
-Luke
-
Turbo Tax 1.0
- Portablizer Extraordinaire
- Posts: 4773
- Joined: Wed Mar 30, 2005 6:19 pm
- Location: Delaware, no sales tax
- Contact:
But if you add up the digits of 16641, it equals 18, meaning its divisible by 3, so itd be turned off.
<a href="http://profile.mygamercard.net/soundwave348">
<img src="http://card.mygamercard.net/gel/soundwave348.png">
</a>
<img src="http://card.mygamercard.net/gel/soundwave348.png">
</a>
a) on (turned back on by #4.
b) on (turned on by 4, off by 6, on by 12)
c) off (off by 2, on by 13, off by 26)
d) a little too big.
b) on (turned on by 4, off by 6, on by 12)
c) off (off by 2, on by 13, off by 26)
d) a little too big.
<a href="http://profile.mygamercard.net/soundwave348">
<img src="http://card.mygamercard.net/gel/soundwave348.png">
</a>
<img src="http://card.mygamercard.net/gel/soundwave348.png">
</a>
-
Turbo Tax 1.0
- Portablizer Extraordinaire
- Posts: 4773
- Joined: Wed Mar 30, 2005 6:19 pm
- Location: Delaware, no sales tax
- Contact:
-
nos_slived
- Higher Idiot
- Posts: 3476
- Joined: Mon Mar 21, 2005 6:32 pm
- Location: Burnaby, BC, Canada
- Contact:
Ready for an answer?
Fun, huh?The spolier wrote:1a) On
1b) Off
1c) Off
1d) On
2) You're looking at factors. Take 26. How many times will anyone touch it?
Guy 1, 2, 13, and 26. No one else. So that means it's turned on, off, on, off. Try it with the rest.
3) This will help with the big ones. Only squares will be on, for only they have an odd number of people touching them. Ie: 9- 1, 3, 9. (3 factors)
But say, 32-1, 2, 4, 8, 16, 32. (6 factors)
So how do you know if a bulb is on? Take the square root of it's number. If you get a whole number, it's on. If you don't, it isn't.
-Luke
-
nos_slived
- Higher Idiot
- Posts: 3476
- Joined: Mon Mar 21, 2005 6:32 pm
- Location: Burnaby, BC, Canada
- Contact:
I thought it might be something like that, but then I started thinking in terms of prime numbers, which obviously wasn't right, and then I forgot about my earlier thought.
Can you tell it's 2am? Usually if my posts make slightly less sense(or sometimes more) than usual, it's probably really late. Or if I start humping a lot of extra legs...
Can you tell it's 2am? Usually if my posts make slightly less sense(or sometimes more) than usual, it's probably really late. Or if I start humping a lot of extra legs...

The spolier wrote:
2) You're looking at factors. Take 26. How many times will anyone touch it?
Guy 1, 2, 13, and 26. No one else. So that means it's turned on, off, on, off. Try it with the rest.
3) This will help with the big ones. Only squares will be on, for only they have an odd number of people touching them. Ie: 9- 1, 3, 9. (3 factors)
But say, 32-1, 2, 4, 8, 16, 32. (6 factors)
So how do you know if a bulb is on? Take the square root of it's number. If you get a whole number, it's on. If you don't, it isn't.
The spolier, II wrote:
You have the right idea, but I feel your explanation is somewhat lacking. Essentially every number X is going to have N factors, where N is divisible by two. The reason N is divisible by two is that every factor N1 will have a "pair" factor, N2, such that N1*N2=X. Let's look at 32. The (N1, N2 ) pairs are:
(1,32 ), (2, 16 ), (4, 8 ).
For a prime number, there are only two (e.g. 11: (1, 11 )). The trick here is that squares have one factor pair with the same number, so for 36:
(1, 36 ), (2, 18 ), (3, 12 ), (4, 9 ), (6, 6 ).
While there are 5 pairs here, what matters for this problem is the number of different numbers (because each number corresponds to one guy going through and flipping switches, and though (6, 6 ) contains two numbers, guy #6 can only flip switch #36 once). Thus, as The Spoiler said above, there is only one way for you to get an odd number of guys hitting a particular switch: if that particular switch's number is a perfect square. However, the reason for this is not as trivial as he made it sound.



