Maths Olympiad Prep

Library / Selection tests for the Gulf Mathematical Olympiad /2 of 10

Selection tests for the Gulf Mathematical Olympiad, 2013

Number theory Difficulty 7.7 National Olympiad, round 2 Prove it Saudi Arabia

Find all pairs of positive integers (a,b)(a, b) such that a2+b2a^{2} + b^{2} divides both a3+1a^{3} + 1 and b3+1b^{3} + 1.

Solution

We have
0≡(a3+1)−(b3+1)≡(a−b)(a2+ab+b2)≡(a−b)ab(moda2+b2). 0 \equiv (a^{3} + 1) - (b^{3} + 1) \equiv (a - b)(a^{2} + a b + b^{2}) \equiv (a - b) a b \pmod{a^{2} + b^{2}}.
Let dd be a common divisor of aa and a2+b2a^{2} + b^{2}. Then dd divides a3+1a^{3} + 1 and a3a^{3}, so it divides 11. Hence aa and a2+b2a^{2} + b^{2} are coprime. In a similar way bb and a2+b2a^{2} + b^{2} are coprime. Thus a−b≡0(moda2+b2)a - b \equiv 0 \pmod{a^{2} + b^{2}}.

If a≠ba \neq b then a2+b2≤∣a−b∣≤(a−b)2<a2+b2a^{2} + b^{2} \leq |a - b| \leq (a - b)^{2} < a^{2} + b^{2}, since ab≥1a b \geq 1, which is a contradiction. Hence a=b=1a = b = 1, since aa and a2+b2a^{2} + b^{2} are coprime.

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

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