Maths Olympiad Prep

Library / /1 of 4

Number theory Difficulty 4.5 AIME Prove it Silk Road Mathematics Competition

Distinct positive integers AA and BB are given. Prove that there exist infinitely many positive integers that can be represented both as x12+Ay12x_1^2 + Ay_1^2 for some positive coprime integers x1x_1 and y1y_1, and as x22+By22x_2^2 + By_2^2 for some positive coprime integers x2x_2 and y2y_2. (Golovanov A.S.)

Solution

Without loss of generality A>BA > B.
Choose an arbitrary prime p>2p > 2 and let's find x1x_1 and x2x_2 so that
x12+A(2p)2=x22+B(2p)2, x_1^2 + A(2p)^2 = x_2^2 + B(2p)^2,
Hence, x22x12=4Cp2x_2^2 - x_1^2 = 4Cp^2 where C=ABC = A - B. Set x1=Cp21x_1 = Cp^2 - 1 and x2=Cp2+1x_2 = Cp^2 + 1. If x1x_1 and x2x_2 are both odd, then they are both coprime with y=2py = 2p, and we have x12+Ay2=x22+By2x_1^2 + Ay^2 = x_2^2 + By^2. If they are both even, then x12\frac{x_1}{2} and x22\frac{x_2}{2} are both coprime with y=py = p, and we have (x12)2+Ay2=(x22)2+By2(\frac{x_1}{2})^2 + Ay^2 = (\frac{x_2}{2})^2 + By^2.
The number to which we have found two such forms will be not less than p2p^2, thus proving there are infinitely many such numbers.

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.