Maths Olympiad Prep

Library / /491 of 520

Number theory Difficulty 6.3 National olympiad Prove it

2. Given an ordered pair of positive integers (x,y)(x, y) with exactly one even coordinate, a step maps this pair to (x2,y+x2)\left(\frac{x}{2}, y+\frac{x}{2}\right) if 2x2 \mid x, and to (x+y2,y2)\left(x+\frac{y}{2}, \frac{y}{2}\right) if 2y2 \mid y. Prove that, for every odd positive integer n>1n>1 there exists an even positive integer b,b<nb, b<n, such that after finitely many steps the pair (n,b)(n, b) maps to the pair (b,n)(b, n).

(Bojan Bašićc)

Solution

2. Denote by (xk,yk)\left(x_{k}, y_{k}\right) the pair obtained after kk steps. The sum xk+ykx_{k}+y_{k} is invariant and equals s=n+bs=n+b. Since 2(x+y2)2x2x(modx+y)2 \cdot\left(x+\frac{y}{2}\right) \equiv 2 \cdot \frac{x}{2} \equiv x(\bmod x+y), we have 2xkxk12 x_{k} \equiv x_{k-1} (mods)(\bmod s). A simple induction yields

2kxkx0=n(mods) 2^{k} x_{k} \equiv x_{0}=n \quad(\bmod s)

Since (s,2k)=1\left(s, 2^{k}\right)=1, it is enough to prove the existence of an odd number s,n<s<s, n<s< 2n2 n, such that for some kk we have 2kbn(mods)2^{k} b \equiv n(\bmod s), i.e. (2k+1)n0(mods)\left(2^{k}+1\right) n \equiv 0(\bmod s). To this end, one can simply take s=2r+1s=2^{r}+1 and k=rk=r, where 2r1<n<2r(rN)2^{r-1}<n<2^{r}(r \in \mathbb{N}). Thus b=2r+1nb=2^{r}+1-n.

Remark. Clearly, one can take any ss such that s2k+1s \mid 2^{k}+1 for some kNk \in \mathbb{N}. For example, s=3i11j(i,jN0)s=3^{i} 11^{j}\left(i, j \in \mathbb{N}_{0}\right) works. From here, one can deduce that, given any constants 0<α<β0<\alpha<\beta, for all big enough nn, there is a desired number bb with αn<b<βn\alpha n<b<\beta 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: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.