Maths Olympiad Prep

Library / /68 of 73

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 GG' of the graph. In GG' 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 GG' 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 GG' are path connected, in any two baskets corresponding to two vertices of GG' there are equal amounts of water. Then R=WR = W implies r=wr = w. Since r=wr = w for any GG' we are done.

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

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