What is wrong with the following inductive “proof” that D(n) = (n−1)! for all n ≥ 2? Can you find a false step in it?
For n=2, the formula holds, so assume n ≥ 3. Let π be a permutation of {1,2,...,n−1} with no fixed point. We want to extend it to a permutation π′ of {1,2,...,n} with no fixed point. We choose a number i ∈ {1, 2, . . . , n − 1}, and we define π′(n) = π(i), π′(i) = n, and π′(j) = π(j) for j ̸= i,n. This defines a permutation of {1,2,...,n}, and it is easy to check that it has no fixed point. For each of the D(n − 1) = (n − 2)! possible choices of π, the index i can be chosen in n − 1 ways. Therefore, D(n) = (n − 2)! · (n − 1) = (n − 1)!.