Clear Notion Academy

Derangements and the Inclusion-Exclusion Principle in Counting — DPP: 8 different keys are to be hung on 8 hooks, each hook meant for exactly one particular…

Question

88 different keys are to be hung on 88 hooks, each hook meant for exactly one particular key. The keys are hung completely at random, one key per hook. In how many ways can at least 66 keys end up on their correct hooks?

Options

  1. 2828
  2. 2929
  3. 3737
  4. 6464

Answer

Correct option: B

Hint

Split into the cases exactly 66, exactly 77, and exactly 88 correct, using (nk)Dn−k\binom{n}{k}D_{n-k} for each, and add.

Solution

Exactly 66 correct: (86)D2=28×1=28\binom{8}{6}D_{2} = 28 \times 1 = 28. Exactly 77 correct: (87)D1=8×0=0\binom{8}{7}D_{1} = 8 \times 0 = 0 (impossible, since if 77 keys are correct the 88th is automatically correct too). Exactly 88 correct: 11 way. Total =28+0+1=29= 28 + 0 + 1 = 29.

More questions from Derangements and the Inclusion-Exclusion Principle in Counting — DPP

Practise the full set: Derangements and the Inclusion-Exclusion Principle in Counting — DPP