PUZZLE 0187
The 100 Prisoners Problem
Classic probability puzzle
One hundred prisoners are numbered from 1 to 100. In another room are one hundred closed drawers, also numbered 1 to 100. Each drawer contains one prisoner's number, placed uniformly at random with no repeats.
Each prisoner may open at most 50 drawers and must find their own number. The prisoners enter one at a time and cannot communicate after the search begins. If every prisoner succeeds, everyone is released; if even one fails, everyone loses.
If everyone simply opens 50 random drawers, the group succeeds with probability
Can the prisoners agree on a strategy that gives the group a meaningful chance?
Hints
Open one at a timeDo not let each prisoner choose drawers independently at random.
Treat the numbers inside the drawers as a permutation and follow its cycles.
The group succeeds exactly when the permutation has no cycle longer than 50.
Solution
Best opened after a real attemptFollow the permutation
Prisoner
The drawer contents form a permutation of
Therefore everyone succeeds exactly when the random permutation has no cycle longer than 50.
For
So the shared strategy raises the chance of complete success from roughly
The striking part is not merely the improvement. It is that the prisoners create correlation: they either tend to succeed together or fail together, which is exactly what the rules reward.