Exercise 1097Combinatorics › Pigeonhole principleL1Added 3 Nov 2026
The handshake lemma by pigeonhole
#pigeonhole#handshake#graph degrees
Statement
Show that in any group of people, two have the same number of friends in the group.
Hint
Each person's number of friends is between and . But and cannot both occur.
Show solutionHide solution
Solution
Degrees. Degrees are in .
Impossible combination. If someone has friends, nobody has (which would mean being friends with everyone). So at most distinct degrees occur among people.
Pigeonhole. Two people share the same degree.
Conclusion. Two people have the same number of friends.