Maths Olympiad Prep

Track / Stage 9 / 9 of 52 #2529 of 2604

Problem 2529

IMO P2/P5; hard shortlist
Number theory Difficulty 9.1 Prove it IMO Shortlist · IMO

Let a,ba, b be integers, and let P(x)=ax3+bxP(x) = a x^{3} + b x. For any positive integer nn we say that the pair (a,b)(a, b) is nn-good if n∣P(m)−P(k)n \mid P(m) - P(k) implies n∣m−kn \mid m - k for all integers m,km, k. We say that (a,b)(a, b) is very good if (a,b)(a, b) is nn-good for infinitely many positive integers nn.

a. Find a pair (a,b)(a, b) which is 5151-good, but not very good.

b. Show that all 20102010-good pairs are very good.

(Turkey)

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Next problem →

Official solution

a. We show that the pair (1,−512)(1, -51^{2}) is 5151-good but not very good. Let P(x)=x3−512xP(x) = x^{3} - 51^{2} x. Since P(51)=P(0)P(51) = P(0), the pair (1,−512)(1, -51^{2}) is not nn-good for any positive integer that does not divide 5151. Therefore, (1,−512)(1, -51^{2}) is not very good.

On the other hand, if P(m)≡P(k)(mod51)P(m) \equiv P(k) \pmod{51}, then m3≡k3(mod51)m^{3} \equiv k^{3} \pmod{51}. By Fermat's theorem, from this we obtain
m≡m3≡k3≡k( mod 3)andm≡m33≡k33≡k( mod 17). m \equiv m^{3} \equiv k^{3} \equiv k \quad (\bmod 3) \quad \text{and} \quad m \equiv m^{33} \equiv k^{33} \equiv k \quad (\bmod 17).
Hence we have m≡k(mod51)m \equiv k \pmod{51}. Therefore (1,−512)(1, -51^{2}) is 5151-good.

b. We will show that if a pair (a,b)(a, b) is 20102010-good then (a,b)(a, b) is 67i67^{i}-good for all positive integer ii.

Claim 1. If (a,b)(a, b) is 20102010-good then (a,b)(a, b) is 6767-good.

Proof. Assume that P(m)≡P(k)(mod67)P(m) \equiv P(k) \pmod{67}. Since 6767 and 3030 are coprime, there exist integers m′m' and k′k' such that k′≡k(mod67)k' \equiv k \pmod{67}, k′≡0(mod30)k' \equiv 0 \pmod{30}, and m′≡m(mod67)m' \equiv m \pmod{67}, m′≡0(mod30)m' \equiv 0 \pmod{30}. Then we have P(m′)≡P(0)≡P(k′)(mod30)P(m') \equiv P(0) \equiv P(k') \pmod{30} and P(m′)≡P(m)≡P(k)≡P(k′)(mod67)P(m') \equiv P(m) \equiv P(k) \equiv P(k') \pmod{67}, hence P(m′)≡P(k′)(mod2010)P(m') \equiv P(k') \pmod{2010}. This implies m′≡k′(mod2010)m' \equiv k' \pmod{2010} as (a,b)(a, b) is 20102010-good. It follows that m≡m′≡k′≡k(mod67)m \equiv m' \equiv k' \equiv k \pmod{67}. Therefore, (a,b)(a, b) is 6767-good.

Claim 2. If (a,b)(a, b) is 6767-good then 67∣a67 \mid a.

Proof. Suppose that 67∤a67 \nmid a. Consider the sets {at2(mod67):0≤t≤33}\{a t^{2} \pmod{67}: 0 \leq t \leq 33\} and {−3as2−b(mod67):0≤s≤33}\{-3 a s^{2} - b \pmod{67}: 0 \leq s \leq 33\}. Since a≢0(mod67)a \not\equiv 0 \pmod{67}, each of these sets has 3434 elements. Hence they have at least one element in common. If at2≡−3as2−b(mod67)a t^{2} \equiv -3 a s^{2} - b \pmod{67} then for m=t±sm = t \pm s, k=∓2sk = \mp 2s we have
P(m)−P(k)=a(m3−k3)+b(m−k)=(m−k)(a(m2+mk+k2)+b)=(t±3s)(at2+3as2+b)≡0( mod 67) \begin{aligned} P(m) - P(k) = a(m^{3} - k^{3}) + b(m - k) & = (m - k)\left(a(m^{2} + m k + k^{2}) + b\right) \\ & = (t \pm 3s)\left(a t^{2} + 3 a s^{2} + b\right) \equiv 0 \quad (\bmod 67) \end{aligned}
Since (a,b)(a, b) is 6767-good, we must have m≡k(mod67)m \equiv k \pmod{67} in both cases, that is, t≡3s(mod67)t \equiv 3s \pmod{67} and t≡−3s(mod67)t \equiv -3s \pmod{67}. This means t≡s≡0(mod67)t \equiv s \equiv 0 \pmod{67} and b≡−3as2−at2≡0(mod67)b \equiv -3 a s^{2} - a t^{2} \equiv 0 \pmod{67}. But then 67∣P(7)−P(2)=67⋅5a+5b67 \mid P(7) - P(2) = 67 \cdot 5 a + 5 b and 67∤7−267 \nmid 7 - 2, contradicting that (a,b)(a, b) is 6767-good.

Claim 3. If (a,b)(a, b) is 20102010-good then (a,b)(a, b) is 67i67^{i}-good for all i≥1i \geq 1.

Proof. By Claim 2, we have 67∣a67 \mid a. If 67∣b67 \mid b, then P(x)≡P(0)(mod67)P(x) \equiv P(0) \pmod{67} for all xx, contradicting that (a,b)(a, b) is 6767-good. Hence, 67∤b67 \nmid b.

Suppose that 67i∣P(m)−P(k)=(m−k)(a(m2+mk+k2)+b)67^{i} \mid P(m) - P(k) = (m - k)\left(a(m^{2} + m k + k^{2}) + b\right). Since 67∣a67 \mid a and 67∤b67 \nmid b, the second factor a(m2+mk+k2)+ba(m^{2} + m k + k^{2}) + b is coprime to 6767 and hence 67i∣m−k67^{i} \mid m - k. Therefore, (a,b)(a, b) is 67i67^{i}-good.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.