Number theoryDifficulty 4.8AIMEProve itSoviet Union
Problem:
The natural numbers m and n are relatively prime. Prove that the greatest common divisor of m+n and m2+n2 is either 1 or 2.
Solution
Solution:
If d divides m+n and m2+n2, then it also divides (m+n)2−(m2+n2)=2mn and hence also 2m(m+n)−2mn=2m2 and 2n(m+n)−2mn=2n2. But m and n are relatively prime, so m2 and n2 are also. Hence d must divide 2.
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 reproduced verbatim; metadata (topic, difficulty) added by this project.