Counting and combinatorics
Derangements
Counts the permutations that fix nothing — the hat-check problem and its many disguises.
Where
- About , and essentially exact from .
Assumptions
- Derived by inclusion–exclusion over which items are fixed.
Sanity check. out of , which is — already within of the limit.
Where this is taught
- Inclusion–exclusion, derangements and the pigeonhole · COMB · Inclusion–exclusion and invariants