Maths Olympiad Prep

Library / /112 of 520

Number theory Difficulty 5.7 AIME, harder Prove it

Example 2 Given positive integers a,ba, b satisfy the equation
2a2+a=3b2+b2 a^{2}+a=3 b^{2}+b

Prove: aba-b and 2a+2b+12 a+2 b+1 are both perfect squares.

Solution

Proof: From the condition, we know
b2=2a2+a(2b2+b)=(ab)(2a+2b+1).b^{2}=2 a^{2}+a-\left(2 b^{2}+b\right)=(a-b)(2 a+2 b+1) .

The left side of the above equation is greater than zero, and on the right side, 2a+2b+12 a+2 b+1 is greater than zero, so aba-b is greater than zero.
From (1), to prove that aba-b and 2a+2b+12 a+2 b+1 are both perfect squares, it is only necessary to prove
(ab,2a+2b+1)=1(a-b, 2 a+2 b+1)=1

Let (ab,2a+2b+1)=d(a-b, 2 a+2 b+1)=d, then from (1) we know d2b2d^{2} \mid b^{2}, so dbd \mid b. Furthermore, combining dabd \mid a-b, we know dad \mid a, hence d2(a+b)d \mid 2(a+b). Since d2a+2b+1d \mid 2 a+2 b+1, it follows that d1d \mid 1, thus d=1d=1.

The proposition is proved.

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: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.