Maths Olympiad Prep

Library / Turkey — Team Selection Test /61 of 66

Turkey — Team Selection Test

Combinatorics Difficulty 8.7 Shortlist Prove it Turkey

There are 100100 empty red and kk empty white baskets. At each step we choose one red and one white basket and add equal amounts of water into two chosen baskets. It was observed that after finite number of steps all baskets are non empty and any two baskets simultaneously chosen at some step contain equal amounts of water. Find all possible values of kk.

Solution

Answer: k=100k=100.

k=100k=100 is obviously possible: partition all baskets into pairs of red and white baskets and in each of 100100 steps choose baskets from some new pair and add any amount of water into chosen baskets.

Now let us show that k=100k=100 is the only possible value. Define a graph on 100+k100+k vertices where each vertex corresponds to some basket and there is an edge between two vertices if and only if baskets corresponding to these vertices are chosen at some step. Consider some connected component G′G' of the graph. In G′G' let rr and ww be the total number of vertices corresponding to red and white baskets, respectively and let RR and WW be the total amount of water in vertices corresponding to red and white baskets, respectively. Since G′G' is connected and in each step we add equal amount of water into chosen baskets we have R=WR = W. Since any two vertices of G′G' are path connected, in any two baskets corresponding to two vertices of G′G' there are equal amounts of water. Then R=WR = W implies r=wr = w. Since r=wr = w for any G′G' we are done.

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.