logo Sign In

Post #87281

Author
DanielB
Parent topic
Riddles
Link to post in topic
https://originaltrilogy.com/post/id/87281/action/topic#87281
Date created
18-Jan-2005, 4:33 PM
Well to stick with the light-bulb riddles, here's one:

100 prisoners are imprisoned in solitary cells. Each cell is windowless and soundproof. There's a central living room with one light bulb; the bulb is initially off. No prisoner can see the light bulb from his or her own cell. Each day, the warden picks a prisoner equally at random, and that prisoner visits the central living room; at the end of the day the prisoner is returned to his cell. While in the living room, the prisoner can toggle the bulb if he or she wishes. Also, the prisoner has the option of asserting the claim that all 100 prisoners have been to the living room. If this assertion is false (that is, some prisoners still haven't been to the living room), all 100 prisoners will be shot for their stupidity. However, if it is indeed true, all prisoners are set free since the world can always use more smart people.

Before this whole procedure begins, the prisoners are allowed to get together in the courtyard to discuss a plan. What is the optimal plan they can agree on, so that eventually, someone will make a correct assertion with 100% accuracy?

...

I am currently working on the most optimal plan, I do believe that I've got it. Yes, I know if they wait 3 years then there's a 99.9% chance they've all been there, but we want to be 100% certain. 99.9999999999999999999999999999999999999999999999999% is not good enough. Good luck.