MathLabs

Problem 5

Each of the six boxes B1,B2,B3,B4,B5,B6B_1,B_2,B_3,B_4,B_5,B_6 initially contains one coin. A type 1 operation chooses a nonempty box BjB_j with 1≤j≤51\le j\le5, removes one coin from it, and adds two coins to Bj+1B_{j+1}. A type 2 operation chooses a nonempty box BkB_k with 1≤k≤41\le k\le4, removes one coin from it, and exchanges the contents of (possibly empty) boxes Bk+1B_{k+1} and Bk+2B_{k+2}. Determine whether a finite sequence of operations can leave B1,B2,B3,B4,B5B_1,B_2,B_3,B_4,B_5 empty and B6B_6 containing exactly 2010201020102010^{2010^{2010}} coins. Here abca^{b^c} means a(bc)a^{(b^c)}.
Step 4 of 5: Discard the surplus exactly
(0,A,0,0)→(0,D4,0,0)D=201020102010(0,A,0,0)\to\left(0,\frac{D}{4},0,0\right)\qquad D=2010^{2010^{2010}}
Detailed analysis

Use type 2 repeatedly at the box containing AA, with the next two boxes empty; each such operation simply removes one coin and leaves the other contents unchanged. Because A>D/4A>D/4, stop exactly when that box contains D/4D/4. This is possible since D=201020102010D=2010^{2010^{2010}} is divisible by 44 (indeed 20102010 is even). The configuration is then (0,D/4,0,0)(0,D/4,0,0) in the last four boxes.