There are 100 prisoners, numbered 1-100. The prisoners' numbers are written onto 100 cards, put randomly into 100 envelopes numbered 1-100. They can't communicate, but are invited, one by one, to open 50 envelopes. If any prisoner fails to find his number, they all get killed.
That's just a cycle of length 1. That prisoner does less envelope-opening. ;) (But they may still die.)
-
-
Okay so anyone opening an envelope with their number is safe, otherwise it sends them into some part of the path of envelopes that don’t contain the same number as their position. Is there a complete explainer for this somewhere?
-
If you look at the map between people and envelopes , you can show there can't be any infinite paths by the pigeon hole principle. You only have 100 numbers, and they are all distinct. So paths are length 100 at most even if 1 -> 2, 2 -> 3, ... 100 -> 1.
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.