Maths Olympiad Prep

Library / /82 of 87

Number theory Difficulty 6.9 National Olympiad Prove it Austria

Max has 20152015 jars labelled with the numbers 11 to 20152015 and an unlimited supply of coins. Consider the following starting configurations:

a. All jars are empty.

b. Jar 11 contains 11 coin, jar 22 contains 22 coins, and so on, up to jar 20152015 which contains 20152015 coins.

c. Jar 11 contains 20152015 coins, jar 22 contains 20142014 coins, and so on, up to jar 20152015 which contains 11 coin.

Now Max selects in each step a number nn from 11 to 20152015 and adds nn coins to each jar except to the jar nn.

Determine for each starting configuration in (a), (b), (c), if Max can use a finite, strictly positive number of steps to obtain an equal number of coins in each jar.

(Birgit Vera Schmidt)

Solution

Max can achieve his goal in all three cases by the procedures described below. Let N=2015N = 2015 be the number of jars.

a. Let Max select jar jj exactly (N!j)\left(\frac{N!}{j}\right) times. Then jar jj will contain
kjkN!k=(N1)N! \sum_{k \neq j} k \cdot \frac{N!}{k} = (N-1) \cdot N!
coins which does not depend on jj as desired and has clearly needed at least one step.

b. Let Max select each jar jj exactly once. Then jar jj will contain j+kjk=kkj + \sum_{k \neq j} k = \sum_k k coins which does not depend on jj as desired.

c. Let Max select jar jj exactly (N!j1)\left(\frac{N!}{j} - 1\right) times. Then jar jj will contain
N+1j+kjk(N!k1)=N+1j+kj(N!k)=(N1)N!+(N+1)kk N + 1 - j + \sum_{k \neq j} k \cdot \left( \frac{N!}{k} - 1 \right) = N + 1 - j + \sum_{k \neq j} (N! - k) = (N - 1)N! + (N + 1) - \sum_k k
coins which does not depend on jj as desired.

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.