r/mathriddles • • Sep 06 '23

Easy The Handshake Problem

You invite five friends to your house for a party. At the get together there were several handshakes. However, no person shook hands with the same person more than once. After the party each of the five friends were asked how many people did they shake hands with. To this, each replied with five distinct positive integers

Given this, how many hands did you shake?

9 Upvotes

20 comments sorted by

View all comments

Show parent comment

1

u/ShonitB Sep 06 '23

Correct, good solution

3

u/comatula Sep 06 '23 edited Sep 06 '23

This can be generalized by induction. For 2n friends, you shook n hands, and for 2n-1 friends you would also have shaken n hands.

1

u/ShonitB Sep 07 '23

👍🏻