Logic and brainteasers · A prison with one light · difficulty 5 of 5
The prisoners and the light bulb
100 prisoners will each be taken, one random prisoner per day, to a room with a light (off at the start). One prisoner is the counter: every other prisoner turns the light on the first time they find it off, and never again; the counter turns it off whenever he finds it on, and declares when he has turned it off 100 − 1 times. How many days does that take on average? Give a decimal.
Answer with an expected value. First lock in a gut guess with an 80% range, then solve it properly, then watch a simulation settle on the truth.
More logic and brainteaser puzzles
- A home-and-away league · A sports league
- Breaking a chocolate bar · A chocolate bar
- Handshakes at a party · A party
- Lily pads cover the lake · A pond
- Machines making widgets · A factory
- Matches in a knockout · A tennis tournament
All logic and brainteaser puzzles · All puzzles · Market making game