Number theoryDifficulty 7.7National olympiad, round 2Prove itSaudi Arabia
Find all pairs of positive integers (a,b) such that a2+b2 divides both a3+1 and b3+1.
Solution
We have 0≡(a3+1)−(b3+1)≡(a−b)(a2+ab+b2)≡(a−b)ab(moda2+b2). Let d be a common divisor of a and a2+b2. Then d divides a3+1 and a3, so it divides 1. Hence a and a2+b2 are coprime. In a similar way b and a2+b2 are coprime. Thus a−b≡0(moda2+b2).
If a=b then a2+b2≤∣a−b∣≤(a−b)2<a2+b2, since ab≥1, which is a contradiction. Hence a=b=1, since a and a2+b2 are coprime.
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.