In a group of at least two people, suppose each pair either shakes hands once or does not shake hands, and nobody shakes their own hand. Prove that two people have the same handshake count. This original proof exercise is suitable for practising a UKMT-style written argument; it is not presented as an official competition problem.
Need help choosing a next step? Scan the contact QR code below or contact Hanlin on WeChat. Send UKMT-HANDSHAKE-1124 and tell us your school year and question.
Write down the apparent possibilities
For a group of n people, one person can have a count between 0 and n - 1 inclusive. That appears to give n values for n people. The ordinary pigeonhole principle does not yet force a repeated value: n objects can occupy n different boxes. A proof that simply invokes pigeonhole at this point has skipped the central issue.
Find the incompatible extremes
If someone has count 0, that person has shaken hands with nobody. If someone else has count n - 1, the latter has shaken hands with everyone, including the first person. Those statements contradict each other. Therefore a count of 0 and a count of n - 1 cannot both occur in the same group. The symmetry of a handshake is essential here.
Finish with two exhaustive cases
If no one has count 0, all n people have counts among 1,2,...,n - 1, only n - 1 possibilities. If someone has count 0, nobody can have count n - 1, so every count lies among 0,1,...,n - 2, again only n - 1 possibilities. In either case n people occupy at most n - 1 count categories, so two must share a category.
Check a small group without replacing the proof
With two people, either both shake hands and both have count 1, or neither does and both have count 0. With four people, a path of three handshakes has counts 1,2,2,1. These examples check the boundary and illustrate the conclusion. They do not establish the result for arbitrary n, which is why the incompatible-extremes argument remains necessary.
Keep the model restrictions visible
Repeated handshakes between the same pair would permit counts above n - 1 and invalidate this exact proof. A directed interaction, such as one person sending another a message, also need not be symmetric. Someone can send no messages while another sends messages to everyone. A proof transfers to a new setting only when the relationships preserve the assumptions it uses.
Turn the argument into a proof template
First identify the candidate categories, then ask whether they can all occur together, and only then compare their number with the objects being assigned. This is a useful improvement over searching random examples until a repetition appears. When checking your written solution, underline the sentence that removes one category: it is the bridge from a plausible pattern to a valid general proof.
Continue reading: UKMT Number Reasoning: When Examples Are Not a Proof.
Contact Hanlin
Planning a first attempt or reviewing a topic you find difficult? Scan the QR code and send UKMT-HANDSHAKE-1124. Include your school year, country or competition region, experience and the question you want to discuss.

On your phone, use the button or save the QR image and scan it within WeChat.
Official information and further reading: Source 1
