수학
Calculates derangements (permutations with no fixed points).
Number of ways 4 people can exchange gifts so nobody gets theirs
References