Let $n, b$ and $c$ be positive integers. A group of $n$ pirates wants to fairly split their treasure. The treasure consists of $c \cdot n$ identical coins distributed over $b \cdot n$ bags, of which at least $n-1$ bags are initially empty. Captain Jack inspects the contents of each bag and then performs a sequence of moves. In one move, he can take any number of coins from a single bag and put them into one empty bag. Prove that no matter how the coins are initially distributed, Jack can perform at most $n-1$ moves and then split the bags among the pirates such that each pirate gets $b$ bags and $c$ coins.
Problem
Source: 2021 MEMO T-3
Tags: combinatorics, Strategy, MEMO 2021, memo, induction
06.09.2021 02:33
16.01.2022 18:56
we prove this by induction, n = 1 is easy.conditionally n-1 bags are empty.Let's look at the rest. $$x_1 \leq x_2 \leq x_3... \leq x_{n(b-1)+1}$$$$x_1 + x_2 + x_3 + ... + x_{n(b-1)+1} = cn$$according to the principle of the pigeonhole $$x_1 + x_2 + x_3 + ... + x_{b-1} \leq c$$$$x_{n(b-1)+1-b+2}+ ... + x_{n(b-1)+1} \ge c$$so we can choose $i$ in which the following condition is satisfied. $$x_i + x_{i+1} + x_{i+2} + ... + x_{i+b-2} = c-k $$$$x_{i+1} + x_{i+2} + ... + x_{i+b-1} \ge c = k + c-k \ge k + x_i + x_{i+1} + x_{i+2} + ... + x_{i+b-2} $$$$x_{i+b-1} \ge k + x_i $$We get $$x_i, x_{i+1},..., x_{i+b-2}$$and $x_{i+b-1}$ has at least k according to the above and we can't take k from it and put it in one empty space. So we have $c$ coins in some $b$ empty $n-2$ remaining coins $b(n-1)$ are appropriate according to this induction.