Olympiad Maths Prep

Track / Stage 9 / 41 of 80 #1921 of 2000

Problem 1921

IMO P2/P5; hard shortlist
Number theory Difficulty 9.1 Prove it 51st IMO Shortlisted Problems · 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 nP(m)P(k)n \mid P(m) - P(k) implies nmkn \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, read the official solution, then mark yourself honestly — the ladder only means something if the record is true.

Official solution

a. We show that the pair (1,512)(1, -51^{2}) is 5151-good but not very good. Let P(x)=x3512xP(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 m3k3(mod51)m^{3} \equiv k^{3} \pmod{51}. By Fermat's theorem, from this we obtain
mm3k3k(mod3)andmm33k33k(mod17). 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 mk(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 mm' and kk' such that kk(mod67)k' \equiv k \pmod{67}, k0(mod30)k' \equiv 0 \pmod{30}, and mm(mod67)m' \equiv m \pmod{67}, m0(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 mk(mod2010)m' \equiv k' \pmod{2010} as (a,b)(a, b) is 20102010-good. It follows that mmkk(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 67a67 \mid a.

Proof. Suppose that 67a67 \nmid a. Consider the sets {at2(mod67):0t33}\{a t^{2} \pmod{67}: 0 \leq t \leq 33\} and {3as2b(mod67):0s33}\{-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 at23as2b(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(m3k3)+b(mk)=(mk)(a(m2+mk+k2)+b)=(t±3s)(at2+3as2+b)0(mod67) \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 mk(mod67)m \equiv k \pmod{67} in both cases, that is, t3s(mod67)t \equiv 3s \pmod{67} and t3s(mod67)t \equiv -3s \pmod{67}. This means ts0(mod67)t \equiv s \equiv 0 \pmod{67} and b3as2at20(mod67)b \equiv -3 a s^{2} - a t^{2} \equiv 0 \pmod{67}. But then 67P(7)P(2)=675a+5b67 \mid P(7) - P(2) = 67 \cdot 5 a + 5 b and 677267 \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 i1i \geq 1.

Proof. By Claim 2, we have 67a67 \mid a. If 67b67 \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, 67b67 \nmid b.

Suppose that 67iP(m)P(k)=(mk)(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 67a67 \mid a and 67b67 \nmid b, the second factor a(m2+mk+k2)+ba(m^{2} + m k + k^{2}) + b is coprime to 6767 and hence 67imk67^{i} \mid m - k. Therefore, (a,b)(a, b) is 67i67^{i}-good.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.