Skip to content

Derangements and the hat-check problem

Unsolved Medium Archive

guests check their hats, and the hats are handed back in a uniformly random order. Let be the probability that no guest gets their own hat. Find a formula for and its limit as .

Posed by Pierre Rémond de Montmort, 1708
Like0
History and references

Solved in 1713 by Pierre Rémond de Montmort and Nicholas Bernoulli.

Montmort considered the problem in his 1708 essay on games of chance and solved it in 1713, as did Nicholas Bernoulli at about the same time. Inclusion and exclusion over the set of guests who do get their own hats gives . This converges very quickly to , so the answer barely depends on once is moderately large. The number of derangements, , is the integer closest to for every .

References

Solutions 0

Nobody has posted a solution here yet. Solutions written on Problempedia are credited to the people who write them.

Discussion 0

Sign in to join the discussion