Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2015/ia/paper-4/7e/solution

For a finite family of subsets of a finite set , the inclusion-exclusion principle states
Let be the set of permutations with the two-cycle in their cycle decomposition of a permutation. Two distinct specified pairs sharing a label cannot both occur, so their intersection is empty. An intersection containing pairwise disjoint specified pairs fixes those labels and leaves choices for the other labels.
The number of ways to choose disjoint unordered pairs is : first order the selected labels, then divide by the two orders within each pair, by the orders of the pairs, and by the orders of the unused labels. Applying inclusion-exclusion to the complement of the union yields the count of permutations without two-cycles:
The term is . Fixed points and cycles of length at least three are allowed; the restriction concerns two-cycles, not whether a permutation can be expressed as a product of transpositions.
Dividing by gives partial sums of the absolutely convergent exponential series, so

New to topics? Read the docs here!