Maths WorkshopMaths problems with full solutions
Exercise 1719Combinatorics › Inclusion-exclusionOlympiadAdded 3 Nov 2026

Derangements via double counting

#derangements#double counting#IE

Statement

Show that Dn/n!→1/eD_n/n!\to1/e as n→+∞n\to+\infty.

Hint

Dn/n!=∑k=0n(−1)k/k!→e−1D_n/n!=\sum_{k=0}^{n}(-1)^k/k!\to e^{-1}.

Show solutionHide solution

Solution

Series. The truncated exponential ∑k=0n(−1)k/k!→e−1\sum_{k=0}^{n}(-1)^k/k!\to e^{-1}.

Conclusion. Dn/n!→1/e≈0.3679D_n/n!\to1/e\approx0.3679.

Interpretation. For large nn, the probability that a random permutation is a derangement approaches 1/e1/e.