Wednesday, October 3, 2012

Riddle Me This 5: All Of The Lights, All Of The Lights

These are the hardest set of flipping riddles I know, but when you get them, you'll light up for the rest of the day! Answers (along with a hint for the hardest one) can be found below each question, but feel free to ask for hints or let me know if you have the solution! :D

Easier:
I have 1000 numbered lights turned off, all in a row, each with associated light switches. I first flip all the lights (turning them all on). I then flip just the even numbered lights (2, 4, etc). I then flip just every 3rd light (3, 6, etc). I continue this through 1000 iterations (for the last one, I just flip the 1000th light). At the end, how many lights are on?

 

Harder:
There are 111 numbered lights turned off. You and I play a game where we take turns flipping lights. At least 1 and at most 10 flips must be made each turn. More lights must be flipped on than flipped off in any turn. The loser is the first one whose turn ends with all lights on. I let you choose who goes first. What should you choose, and what is your winning strategy? 

 

Hardest (first found on Dr. Miller's riddle page here): 
A warden tells 50 numbered prisoners that he is giving them a chance to be released, or executed--a fun game (by his twisted definition of fun)! They will not be able to communicate with each other after one 3-hour-long planning session before they are taken to their rooms and the game begins.
There is a special room containing two light switches numbered 1 and 2, which can each be either up or down (on or off). They cannot be left in between, they are not linked in any way. Their initial positions are unknown to the prisoners. One at a time, a prisoner will be brought into the room. The prisoner must flip one and only one switch. The prisoner is then returned to his cell.
There is no fixed pattern to the order or frequency with which prisoners visit the room, but at any given time, every prisoner is guaranteed to visit again eventually. At any time, any prisoner may declare that all 50 of them have been in room 0. If right, the prisoners all go free. If wrong, they are all executed.
If you were Person 1, what plan would you give your cohorts during the meeting? 

 
 

No comments:

Post a Comment