Acertijos de Mileto42 a riddle every day · the solution, the next day Versión en español

2026-10-24 · Logic / Math

Handshakes at the Party

Five married couples attend a party, so there are ten people in all. Once everyone has finished greeting each other, Ana asks each of the other nine people how many hands they shook. The nine answers are all different.

It is known that no one shook hands with their own spouse, no one shook their own hand, and any two people shook hands at most once.

How many hands did Ana's spouse shake?

See solution

Ana's spouse shook 4 hands.

Each person could shake at most 8 hands (the other 9 people, minus their spouse). The nine answers are all different, so they must be exactly 0, 1, 2, 3, 4, 5, 6, 7 and 8.

The person who shook 8 hands greeted everyone except their spouse. So the person who shook 0 can only be that spouse. Setting that pair aside, the person who shook 7 greeted everyone except their spouse and the person with 0, and the only one who could have been greeted by just those two excluded people is the one who shook 1: they are a couple. The same reasoning pairs 6 with 2 and 5 with 3.

Only the person who answered 4 remains, and they must be Ana's spouse. So Ana's spouse shook 4 hands (and so did Ana).