Learn / Library / Combinatorics
Dinner handshakes
At a dinner there are married couples. Every guest shakes hands exactly once with each other guest except their own spouse. How many handshakes happen in total?
Checking an answer needs JavaScript. The hint and the solution open without it.
Hint
Count all pairs of guests, then remove the pairs that do not shake hands.
Solution
- There are guests, so pairs of guests.
- Only the spouse pairs do not shake hands.
- The total is .
Answer: