Clear Notion Academy

Permutations and Combinations (Beyond Advanced) Practice: D n denotes the number of derangements of n objects (permutations with no fixed point)…

Question

DnD_n denotes the number of derangements of nn objects (permutations with no fixed point). Which statements are true?

Options

  1. D7=1854D_7=1854.
  2. For n≥1n\ge1, DnD_n is odd exactly when nn is odd.
  3. For even n≥2n\ge2, Dn=nDn−1−1D_n=nD_{n-1}-1.
  4. The number of permutations of {1,…,7}\{1,\ldots,7\} with exactly three fixed points is (73)D5=1540\binom73D_5=1540.

Answer

Correct option: A

Hint

Use Dn=(n−1)(Dn−1+Dn−2)D_n=(n-1)(D_{n-1}+D_{n-2}) and the closed form Dn=nDn−1+(−1)nD_n=nD_{n-1}+(-1)^n.

Solution

Values: D1=0,D2=1,D3=2,D4=9,D5=44,D6=265,D7=1854D_1=0,D_2=1,D_3=2,D_4=9,D_5=44,D_6=265,D_7=1854. (A) True: D7=6(D6+D5)=6(265+44)=1854D_7=6(D_6+D_5)=6(265+44)=1854 (also the integer nearest 5040/e5040/e). (B) False: from Dn=nDn−1+(−1)nD_n=nD_{n-1}+(-1)^n. If nn is even, Dn=nDn−1+1D_n=nD_{n-1}+1 is odd. If nn is odd, Dn=nDn−1−1D_n=nD_{n-1}-1 where Dn−1D_{n-1} is odd (previous case, with D0=1D_0=1) and nn is odd, so nDn−1nD_{n-1} is odd and DnD_n is even. Thus DnD_n is odd exactly when nn is even (e.g. D2=1D_2=1, D3=2D_3=2, D4=9D_4=9), the opposite of the claim. (C) False: the identity is Dn=nDn−1+(−1)nD_n=nD_{n-1}+(-1)^n, so for even nn it is +1+1 (D8=8⋅1854+1=14833D_8=8\cdot1854+1=14833). (D) False: after choosing the three fixed points in (73)=35\binom73=35 ways, the other four must be deranged: 35⋅D4=31535\cdot D_4=315. The value 15401540 wrongly uses D5D_5.

More questions from Permutations and Combinations (Beyond Advanced) Practice

Practise the full set: Permutations and Combinations — Beyond Advanced