Mathematical paradoxes · Rules and theory
Find your numbers in the boxes without knowing what is inside.
Rules
This is the task players see in the app before choosing.
Each player is a prisoner with a number from 1 to n (n is the number of players). The n boxes hold the numbers 1 to n in random order, and nobody knows the arrangement: all players shuffle and encrypt it. One at a time, each prisoner opens at most half of the boxes and must find the number equal to their own. You win only if EVERYONE finds theirs; one failure ends the round. No communication is allowed during the round, but you may agree on a strategy beforehand. You have 60 s per turn. After the round everyone reveals their shuffle step and everybody checks that nobody rigged the arrangement.
The numbers in the description (ranges, times, pools) are the defaults; the host can change some of them when creating the table.
Theory
The app shows this text after the round, with the numbers from your own game next to it.
With random opening each prisoner succeeds with a chance of 1/2, so all together with a chance of (1/2)^n, which is practically never. But there is a strategy giving about 31% regardless of the number of prisoners (38% for 6 people): open the box with your own number, then the box whose number you just saw. The arrangement is a permutation and this strategy follows its cycle: you find your number if the cycle you are on has at most n/2 boxes. So the team wins exactly when no cycle is longer than n/2. Whether players figured it out shows in the numbers below.
Android and Windows: available. iOS, iPadOS and macOS: coming soon (version 2.1.0 is in App Store review).
More paradoxes