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
different keys are to be hung on 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 keys end up on their correct hooks?
Options
Answer
Correct option: B
Hint
Split into the cases exactly , exactly , and exactly correct, using for each, and add.
Solution
Exactly correct: .
Exactly correct: (impossible, since if keys are correct the th is automatically correct too).
Exactly correct: way.
Total .
More questions from Derangements and the Inclusion-Exclusion Principle in Counting — DPP
- 7 letters, one addressed to each of 7 different people, are placed completely at random…
- At a party, 6 guests each bring one hat and place it in a common pile. At the end of the…
- Given that D 6 = 265 and D 7 = 1854 , use the recurrence D n = (n-1)(D n-1 + D n-2 ) to…
Practise the full set: Derangements and the Inclusion-Exclusion Principle in Counting — DPP