Maths Olympiad Prep

Library / /38 of 48

, 2008

Number theory Difficulty 6.5 National Olympiad Prove it Hong Kong

Let x1x_1 and y1y_1 be positive integers satisfying x1+y1=2rx_1 + y_1 = 2^r, where rr is a positive integer. If x1<y1x_1 < y_1, let x2=2x1x_2 = 2x_1 and y2=2rx2y_2 = 2^r - x_2. On the other hand, if x1>y1x_1 > y_1, then we let y2=2y1y_2 = 2y_1 and x2=2ry2x_2 = 2^r - y_2. Apply the same procedure to (x2,y2)(x_2, y_2), and so on. Show that the procedure will end in finitely many steps, i.e. there exists a kk such that xk=ykx_k = y_k. (For example, let (x1,y1)=(7,57)(x_1, y_1) = (7, 57), with x1+y1=26x_1 + y_1 = 2^6. Then (x2,y2)=(14,50)(x_2, y_2) = (14, 50), (x3,y3)=(28,36)(x_3, y_3) = (28, 36), (x4,y4)=(56,8)(x_4, y_4) = (56, 8), (x5,y5)=(48,16)(x_5, y_5) = (48, 16), and finally (x6,y6)=(32,32)(x_6, y_6) = (32, 32).)

Solution

Note that for any positive integers xx and yy satisfying x+y=2rx + y = 2^r, we have
v2(x)=v2(2ry)=v2(y), v_2(x) = v_2(2^r - y) = v_2(y),
where v2(n)v_2(n) is the largest mm such that 2mn2^m \mid n. Therefore, WLOG we may assume xk<ykx_k < y_k in some step. Since
v2(xk+1)=v2(2xk)=v2(xk)+1, v_2(x_{k+1}) = v_2(2x_k) = v_2(x_k) + 1,
the sequence {v2(xk)}k1\{v_2(x_k)\}_{k \ge 1} is strictly increasing. But then the sequence is bounded above by r1r-1 since xk<2rx_k < 2^r. Therefore, it must be a finite sequence, which means the procedure will end in finitely many steps.

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.