Learn / Library / Combinatorics
Mixed-up name cards
guests each have a personal seat among numbered seats, and every guest takes exactly one seat, all different. How many seatings have exactly guests in their own personal seats?
Checking an answer needs JavaScript. The hint and the solution open without it.
Hint
Choose who sits correctly, then count the seatings of the rest where nobody sits correctly.
Solution
- Choose the guests who sit correctly in ways.
- The other guests must all sit in wrong seats, which is the number of derangements of objects.
- That number is .
- Multiplying gives .
- Hence the number of seatings is .
Answer: