Daily

Random

Practice set

Baltic Way 2020 · Problem 6

Combinatorics

Let n>2n>2 be a given positive integer. There are nn guests at Georg's bachelor party and each guest is friends with at least one other guest. Georg organizes a party game among the guests. Each guest receives a jug of water such that there are no two guests with the same amount of water in their jugs. All guests now proceed simultaneously as follows. Every guest takes one cup for each of his friends at the party and distributes all the water from his jug evenly in the cups. He then passes a cup to each of his friends. Each guest having received a cup of water from each of his friends pours the water he has received into his jug. What is the smallest possible number of guests that do not have the same amount of water as they started with?

Change pool

When you’re ready

Review material becomes available with the next Daily.

Review

Topics

Games and strategies · Pigeonhole and extremal arguments

Solutions

Solution

Answer: 2 .

If there are guests 1,2,…,n1,2, \ldots, n and guest ii is friends with guest i−1i-1 and i+1i+1 modulo nn (e.g. guest 1 and guest nn are friends). Then if guest ii has ii amount of water in their jug at the start of the game, then only guest 1 and nn end up with a different amount of water than they started with.

To show that there always will be at least two guests with a different amount of water at the end of the game than they started with, let xix_{i} and did_{i} be the amount of water and number of friends, respectively, that guest ii has. Define zv=xv/dvz_{v}=x_{v} / d_{v} and assume without loss of generality that the friendship graph of the party is connected. Since every friend has at least one friend, there must exist two guests aa and bb at the party with the same number of friends by the pigeonhole principle. They must satisfy za≠zbz_{a} \neq z_{b}. Thus, the sets

S={c∣zc=min⁡dzd} and T={c∣zc=max⁡dzd}S=\left\{c \mid z_{c}=\min _{d} z_{d}\right\} \text { and } T=\left\{c \mid z_{c}=\max _{d} z_{d}\right\}

are non-empty and disjoint. Since we assumed the friendship graph to be connected, there exists a guest c∈Sc \in S that has a friend dd not in SS. Let FF be the friends of cc at the party. Then the amount of water in cc 's cup at the end of the game is

∑f∈Fzf⩾zd+(dc−1)zc>dc⋅zc=xc\sum_{f \in F} z_{f} \geqslant z_{d}+\left(d_{c}-1\right) z_{c}>d_{c} \cdot z_{c}=x_{c}

Thus, cc ends up with a different amount of water at the end of the game. Similarly, there is a guest in TT that ends up with a different amount of water at the end of the game than what they started with.

Contest context

Results from Baltic Way 2020

10 teams

Mean score
1.7 / 5
Scores of 4 or 5
2 / 10
Estonia
0 / 5

Score distribution

04
12
21
31
40
52
All team scores
TeamScore
Germany5 / 5
Norway5 / 5
Poland1 / 5
Finland0 / 5
Latvia2 / 5
Estonia0 / 5
Denmark1 / 5
Sweden0 / 5
Lithuania3 / 5
Iceland0 / 5