15.13. A Magic Trick 505
(a)What isjSij?
(b)What is
ˇˇ
Si\Sj
ˇˇ
wherei¤j?
(c)What is
ˇˇ
Si 1 \Si 2 \\Sik
ˇˇ
wherei 1 ;i 2 ;:::;ikare all distinct?
(d)Use the inclusion-exclusion formula to express the number of non-derangements
in terms of sizes of possible intersections of the setsS 1 ;:::;Sn.
(e)How many terms in the expression in part (d) have the form
ˇ
ˇSi 1 \Si 2 \\Sik
ˇ
ˇ?
(f)Combine your answers to the preceding parts to prove the number of non-
derangements is:
nŠ