Maths Olympiad Prep

Library / /252 of 520

Number theory Difficulty 6.5 National olympiad Prove it

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

Solution

At the beginning, the number aa is on the board. The transition from xx to 2x+12x+1 or xx+2\frac{x}{x+2} is referred to as a transformation. All numbers on the board are positive. 1. Variant: From the number aa, through kk transformations, numbers of the form ma+m1(2km)a+2km+1\frac{m a + m - 1}{(2^k - m) a + 2^k - m + 1} with integer 0<m<2k0 < m < 2^k always arise. For all x>0x > 0 it holds that: 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, it can be shown 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) if and only if 2n1mod20092^n \equiv 1 \bmod 2009 or if 420n420 \mid n.
Remarks: Some participants only considered specific sequences of the two transformations or tried (incorrectly) to prove that in the 4th variant, the number akna_{k-n} can only be an integer for n=0n = 0. 2009 is not a prime number: 2009=72412009 = 7^2 \cdot 41.

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: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.