Maths Olympiad Prep

Library / /12 of 22

Combinatorics Difficulty 8.2 Shortlist Prove it Germany

Problem:

At the beginning, a positive integer is written on a board. If a number xx is written on the board, one may write down the numbers 2x+12x+1 and xx+2\frac{x}{x+2}. At some point the number 2008 also appears on the board. Prove that it was there from the beginning.

Solution

Solution:

Sketch of solution: Initially the number aa is written on the board. The transition from xx to 2x+12x+1 or xx+2\frac{x}{x+2} shall be called a transformation. All numbers on the board are positive.

1st variant:
From the number aa, after kk transformations one always obtains numbers of the form ma+m1(2km)a+2km+1\frac{ma+m-1}{(2^{k}-m)a+2^{k}-m+1} with an integer 0<m2k0 < m \leq 2^{k} (proof by complete induction on kk). So if 2008 appears on the board at some point, there exist k0k \geq 0 and 0<m2k0 < m \leq 2^{k} with ma+m1(2km)a+2km+1=2008\frac{ma+m-1}{(2^{k}-m)a+2^{k}-m+1} = 2008, i.e. 2009=(a+1)(2009m20082k)2009 = (a+1)(2009m - 2008 \cdot 2^{k}). Since the second factor is coprime to 2009 (as 2008 and 2k2^{k} are coprime to 2009), it follows that a+1=2009a+1 = 2009.

2nd variant:
On a sheet of paper, write for each number tt on the board the number f(t)=2009t+1f(t) = \frac{2009}{t+1}. At some point 1 appears on the sheet. A transformation of a number on the board maps a number zz on the sheet to z/2z/2 or 2009+z2\frac{2009+z}{2}. So if the initial number f(a)f(a) on the sheet is not an integer or not coprime to 2009, then integers, or numbers coprime to 2009, can never arise from it. Hence f(a)f(a) is an integer and coprime to 2009. Since f(a)=2009a+1f(a) = \frac{2009}{a+1} also divides 2009, it follows that f(a)=1f(a) = 1 and a=2008a = 2008.

3rd variant:
Every transformation maps the reduced rational number p/qp/q to the reduced number p/qp'/q', where p,q,p,qp, q, p', q' are positive integers and p+q{p+q,2(p+q)}p'+q' \in \{p+q, 2(p+q)\}. Initially one has the reduced representation a1\frac{a}{1}, at the end 20081\frac{2008}{1}, so there exists k0k \geq 0 with 2k(a+1)=2008+12^{k}(a+1) = 2008+1. Since 2009 is odd, it follows that k=0k=0 and a+1=2009a+1 = 2009.

4th variant:
Form the sequence of numbers a0=a,a1,,ak=2008a_{0} = a, a_{1}, \ldots, a_{k} = 2008 from numbers on the board, where aj+1a_{j+1} for 0j<k0 \leq j < k arises from aja_{j} by one of the two transformations. From aka_{k} one can uniquely reconstruct ak1,,a0a_{k-1}, \ldots, a_{0}, since for all x>0x > 0 we have: 2x+1>12x+1 > 1, 0<xx+2<10 < \frac{x}{x+2} < 1. By induction on nn for n=0,,kn = 0, \ldots, k one shows that akn=2009bnbna_{k-n} = \frac{2009-b_{n}}{b_{n}} with 0<bn<20090 < b_{n} < 2009 and bn2nmod2009b_{n} \equiv 2^{n} \bmod 2009. Thus akna_{k-n} is an integer (with value 2008) exactly when 2n1mod20092^{n} \equiv 1 \bmod 2009, i.e. when 420n420 \mid n.

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 translated into English from de; metadata (topic, difficulty) added by this project.