Skip to main content
OlympiadHQ

Browse · MathNet

Print

Hrvatska 2011

Croatia 2011 counting and probability

Problem

Spouses Ana and Tomislav attended a party with four other couples. Upon arrival there was a certain number of handshaking, but no one shook hands with his or her spouse nor with himself/herself. When later Tomislav asked everyone at the party how many people they shook hands with, he got nine different answers. How many people did Ana shake hands with? (www.masa.on.net)

problem
Solution
No one shook hands with more than eight people so the responses that Tomislav got are: "0", "1", "2", "3", "4", "5", "6", "7", "8".

Ana certainly did not shake hands with eight people. Namely, if we assume that she did shake hands with eight people, all the others (except Tomislav) had to shake hands with her, so no response would be "0".

Let the person who shook hands with eight people be . We can conclude that the only person who could shake hands with zero people is the spouse of . Let's call this person .

If now we assume that Ana shook hands with seven people, then all the others except Tomislav and person had to shake hands with Ana, so no response would be "1" (since all of them also shook hands with ).

Let the person who shook hands with seven people be . Again we conclude that the person who gave the response "1" is the spouse of because all the others shook hands with person and person . Let's call this person .

By similar reasoning we conclude that spouses and gave responses "6" and "2", and spouses and gave responses "5" and "3".

Finally we conclude that Ana gave the response "4", i.e. she shook hands with four people.

The graph below shows that this is really possible:

Final answer
4

Techniques

Graph TheoryColoring schemes, extremal arguments