Maths Olympiad Prep

Library / /245 of 520

Algebra Difficulty 6.4 National olympiad Prove it

(a) Let aa and bb be positive integers such that M(a,b)=a1b+b(b+3a)M(a, b)=a-\frac{1}{b}+b\left(b+\frac{3}{a}\right) is an integer. Prove that M(a,b)M(a, b) is a square.
(b) Find integers aa and bb, both not equal to zero, such that M(a,b)M(a, b) is a positive integer, but not a square.

Solution

(a) Since a+b2a+b^{2} is an integer, 1b+3ba-\frac{1}{b}+\frac{3 b}{a} is also an integer. This can be written as a+3b2ab\frac{-a+3 b^{2}}{a b}. We see that aba b is a divisor of 3b2a3 b^{2}-a. In particular, bb is a divisor of 3b2a3 b^{2}-a, and thus bab \mid a. But that means b2b^{2} is a divisor of aba b and therefore also of 3b2a3 b^{2}-a, which implies b2ab^{2} \mid a. We can now write a=mb2a=m b^{2} with mm a positive integer. Then mb3m b^{3} is a divisor of 3b2mb23 b^{2}-m b^{2}, so mbm b is a divisor of 3m3-m. This implies that mm is a divisor of 3 (i.e., m=1m=1 or m=3m=3) and that bb is a divisor of 3m3-m.
First, assume m=3m=3. Then a=3b2a=3 b^{2}. Substituting this gives M(3b2,b)=3b21b+b2+1b=4b2M\left(3 b^{2}, b\right)=3 b^{2}-\frac{1}{b}+b^{2}+\frac{1}{b}=4 b^{2}, which is the square of 2b2 b.
Now assume m=1m=1. From b3mb \mid 3-m we get b=1b=1 or b=2b=2. In the first case, a=1a=1 and in the second case, a=4a=4. Substituting the first possibility gives M(1,1)=11+1+3=4M(1,1)=1-1+1+3=4, which is a square. Substituting the second possibility gives M(4,2)=412+4+32=9M(4,2)=4-\frac{1}{2}+4+\frac{3}{2}=9, which is also a square.
We conclude that M(a,b)M(a, b) is a square in all cases.
(b) Take a=4a=4 and b=2b=-2. Then M(4,2)=7M(4,-2)=7. This is a positive integer, but not a square. After all the work in part (a), this answer is not hard to find. You know that aa must be of the form mb2m b^{2}, now with mZm \in \mathbb{Z}, and that mm must be a divisor of 3. Moreover, m=3m=3 does not work, as it always results in a square. The rest of the possibilities for mm can be simply tested.

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.