Learn / Library / Combinatorics
Dinner place cards
guests at a dinner each have a personal place card. The cards are shuffled and each guest takes one card. How many of the assignments have exactly guests holding their own card?
Checking an answer needs JavaScript. The hint and the solution open without it.
Hint
Pick the lucky guests, then count assignments of the other guests with no match.
Solution
- Choose the guests who hold their own cards: ways.
- The remaining guests must all hold wrong cards: ways.
- Multiply the independent counts: .
- The answer is .
Answer: