LifeIn
Well-known member
I saw this one on Numberphile and is looked neat:
There are 100 on/off switches and 100 people. All the switches are initially off. The first person comes to the switches and turns every one of them on. The second person flips ever 2nd switch, starting with switch #2. Since they are all on at this point, this results in every second switch being turned off. The third person comes and flips every 3rd switch starting with switch #3. The 4th person flips every 4th switch starting with switch #4, and so on. This continues all the way to the 100th person, who flips every 100th switch. Of course this means he just flips the last switch. The puzzle is to figure out which switches will be left on after all 100 people have finished doing their thing.
Here are some observations that may help. It is clear that after the first 10 people, the first 10 switches will never be flipped again. So it would be really easy to just work it out for the first 10 switches. This may or may not give you a clue to the final answer for all 100 switch. The next thing is that after person #50, the remaining people only get to flip one switch, because they already have to start past the half-way point.
You might guess the answer from what happens to the first 10 switches, but to really do the puzzle you should prove your answer rigorously. Hints in a couple of days if no one has gotten it.
There are 100 on/off switches and 100 people. All the switches are initially off. The first person comes to the switches and turns every one of them on. The second person flips ever 2nd switch, starting with switch #2. Since they are all on at this point, this results in every second switch being turned off. The third person comes and flips every 3rd switch starting with switch #3. The 4th person flips every 4th switch starting with switch #4, and so on. This continues all the way to the 100th person, who flips every 100th switch. Of course this means he just flips the last switch. The puzzle is to figure out which switches will be left on after all 100 people have finished doing their thing.
Here are some observations that may help. It is clear that after the first 10 people, the first 10 switches will never be flipped again. So it would be really easy to just work it out for the first 10 switches. This may or may not give you a clue to the final answer for all 100 switch. The next thing is that after person #50, the remaining people only get to flip one switch, because they already have to start past the half-way point.
You might guess the answer from what happens to the first 10 switches, but to really do the puzzle you should prove your answer rigorously. Hints in a couple of days if no one has gotten it.