Priors

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.

Play it

More logic and brainteaser puzzles

All logic and brainteaser puzzles · All puzzles · Market making game