Maths Olympiad Prep

Library / /5 of 6

Number theory Difficulty 7.4 National olympiad, round 2 Prove it South Korea

For a positive integer m2m \ge 2, define
Am:={m+1,3m+2,5m+3,7m+4,9m+5,}. A_m := \{ m+1, 3m+2, 5m+3, 7m+4, 9m+5, \dots \}.
(1) Prove that, for any given m2m \ge 2, there exists a positive integer aa, 1a<m1 \le a < m, such that either 2aAm2^a \in A_m or 2a+1Am2^a + 1 \in A_m.

(2) Assume that, for some m2m \ge 2, there exist positive integers aa and bb for which 2aAm2^a \in A_m and 2b+1Am2^b + 1 \in A_m. Let a0a_0 and b0b_0 be the smallest such aa and bb, respectively, and find a relation between a0a_0 and b0b_0.

Solution

(1) An arbitrary element of AmA_m can be written in the form m+1+k(2m+1)m + 1 + k(2m + 1), where k=0,1,2,k = 0, 1, 2, \dots. Putting ϵ=0\epsilon = 0 or 11,
m+1+k(2m+1)=2a+ϵ    2am+1ϵ(mod2m+1) m+1+k(2m+1) = 2^a + \epsilon \iff 2^a \equiv m+1-\epsilon \pmod{2m+1}
    2a+112ϵ(mod2m+1) \iff 2^{a+1} \equiv 1-2\epsilon \pmod{2m+1}
    2a+1{1(mod 2m+1)1(mod 2m+1)if ϵ=0, if ϵ=1. \iff 2^{a+1} \equiv \begin{cases} 1 & (\text{mod } 2m+1) \\ -1 & (\text{mod } 2m+1) \end{cases} \quad \text{if } \epsilon=0, \text{ if } \epsilon=1.
Let rr be the smallest positive integer tt satisfying 2t1(mod2m+1)2^t \equiv 1 \pmod{2m+1}, that is, r=ord2m+1(2)r = \text{ord}_{2m+1}(2). Observe that r>2r > 2 because 2m+152m+1 \ge 5,

i) rmr \le m:
Since 1<r1<m1 < r - 1 < m, we may take a:=r1a := r - 1. Then 1<a<m1 < a < m and
2a+11(mod2m+1)    (ϵ=0)2aAm. 2^{a+1} \equiv 1 \pmod{2m+1} \iff \begin{array}{l} (\epsilon=0) \\ 2^a \in A_m. \end{array}

ii) r>mr > m:
Since 2m+12m+1 is odd, ϕ(2m+1)\phi(2m+1) is even. Furthermore,
rϕ(2m+1),ϕ(2m+1)2m    r=ϕ(2m+1). r | \phi(2m+1), \phi(2m+1) \le 2m \implies r = \phi(2m+1).
That is, 22 is a primitive root (mod 2m+12m + 1). Thus, 2r/21(mod2m+1)2^{r/2} \equiv -1 \pmod{2m+1}. This is because
s(0<s<r),2s1(mod2m+1)    22s1(mod2m+1)    r2s,0<2s<2r    2s=r. \begin{align*} \exists s (0 < s < r), 2^s \equiv -1 \pmod{2m+1} &\implies 2^{2s} \equiv 1 \pmod{2m+1} \\ &\implies r \mid 2s, 0 < 2s < 2r \\ &\implies 2s = r. \end{align*}
Take a:=(r/2)1a := (r/2) - 1. Then, from 4r=ϕ(2m+1)2m4 \le r = \phi(2m+1) \le 2m, we obtain 1a<m1 \le a < m and
2a+11(mod2m+1)    (ϵ=1)2a+1Am. 2^{a+1} \equiv -1 \pmod{2m+1} \quad \stackrel{(\epsilon=1)}{\implies} \quad 2^a + 1 \in A_m.

(2) For a given mm, we observed that 2r1Am2^{r-1} \in A_m in (1) above, where r=ord2m+1(2)r = \text{ord}_{2m+1}(2). Furthermore, it is clear that the smallest aa, for which 2aAm2^a \in A_m, holds, is a0=r1a_0 = r - 1.

i) rr is even and 2r/21(mod2m+1)2^{r/2} \equiv -1 \pmod{2m+1}:
In this case, 2(r/2)1+1Am2^{(r/2)-1} + 1 \in A_m holds, and the smallest bb for which 2b+1Am2^b + 1 \in A_m holds is b0=(r/2)1b_0 = (r/2) - 1.

ii) rr is even and 2r/2≢1(mod2m+1)2^{r/2} \not\equiv -1 \pmod{2m+1}:
Let's assume that there exists an ss with 0<s<r0 < s < r satisfying 2s1(mod2m+1)2^s \equiv -1 \pmod{2m+1}. Then from 22s1(mod2m+1)2^{2s} \equiv 1 \pmod{2m+1}, we get r2sr \mid 2s. Since 2s≢r(mod2r)2s \not\equiv r \pmod{2r}, 2s3r2s \ge 3r, that is, s>rs > r, which is a contradiction. Therefore, in this case, AmA_m contains no element of the form 2b+12^b + 1.

iii) rr is odd:
Let's assume that there exists an ss with 0<s<r0 < s < r satisfying 2s1(mod2m+1)2^s \equiv -1 \pmod{2m+1}. Then from 22s1(mod2m+1)2^{2s} \equiv 1 \pmod{2m+1}, we get r2sr \mid 2s and hence rsr \mid s because rr is odd. But this is absurd since 0<s<r0 < s < r. Therefore, in this case again, AmA_m contains no element of the form 2b+12^b + 1.

Combining (i~iii), we may conclude that
b0=a0+121=a012. b_0 = \frac{a_0 + 1}{2} - 1 = \frac{a_0 - 1}{2}. \quad \square

Let x,yx, y be the smallest positive integers satisfying
2x1(mod2m+1),2y1(mod2m+1). 2^x \equiv -1 \pmod{2m+1}, \quad 2^y \equiv 1 \pmod{2m+1}.
Clearly, 0<x<y2x0 < x < y \le 2x. Assume that y=xq+ry = xq + r (0r<x0 \le r < x). Since
12y(2x)q2r(1)q2r(mod2m+1). 1 \equiv 2^y \equiv (2^x)^{q} 2^r \equiv (-1)^{q} 2^r \pmod{2m+1}.
qq should be even. Hence q=2q = 2 and r=0r = 0. This completes the proof. \square

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 and solution reproduced as published; topic and difficulty added by this site.