Browse · MathNet
PrintTHE 68th NMO SELECTION TESTS FOR THE JUNIOR BALKAN MATHEMATICAL OLYMPIAD
Romania number theory
Problem
Determine the integers and for which is rational.
Solution
We treat four cases:
I.
is rational if and only if is a perfect square, i.e., there exists such that . Analyzing this equation modulo , we have , , and , hence needs to be odd. Let be such that . The previous equation becomes .
If , then , , while , which means the equation has no solutions in this case. We are left with the cases when and .
For we have , hence cannot be a perfect square.
If , then , hence there exist , with , such that and . By subtraction, . If then , hence , contradiction. As , it follows that , then , i.e., . We obtain the solution .
II.
Let . is rational if and only if there exist , coprime, such that , i.e., , which means . Numbers and are coprime, therefore every prime factor of is a prime factor of , which means that it appears at an even exponent. It follows that is a perfect square, and, similarly, is a perfect square. From case I it follows that is a perfect square if and only if , but then is not a perfect square. We conclude that there are no solutions in this case.
III.
Let . Then is rational if and only if is a perfect square, i.e., there exists such that . Then . As , is odd and . We distinguish the following sub-cases:
A. ,
B. ,
C. ,
D. ,
In sub-case A we obtain , i.e., . It follows that and should be powers of , but no two powers of are at distance .
Sub-case B leads to and, immediately, to , with no solutions.
In sub-case C we get . Then and , therefore needs to be odd. It follows that , hence , i.e., . We obtain the solution .
Sub-case D leads to and then to , with no solutions.
IV.
Let . Then is rational if and only if there exist coprime such that , i.e., such that . Numbers and are coprime, hence, as in case I, they need to be perfect squares. We have seen in the previous case that is a perfect square only when and , but in this situation is not a perfect square. We conclude that in this case there are no solutions.
To summarize, the only solutions to the problem are and , .
I.
is rational if and only if is a perfect square, i.e., there exists such that . Analyzing this equation modulo , we have , , and , hence needs to be odd. Let be such that . The previous equation becomes .
If , then , , while , which means the equation has no solutions in this case. We are left with the cases when and .
For we have , hence cannot be a perfect square.
If , then , hence there exist , with , such that and . By subtraction, . If then , hence , contradiction. As , it follows that , then , i.e., . We obtain the solution .
II.
Let . is rational if and only if there exist , coprime, such that , i.e., , which means . Numbers and are coprime, therefore every prime factor of is a prime factor of , which means that it appears at an even exponent. It follows that is a perfect square, and, similarly, is a perfect square. From case I it follows that is a perfect square if and only if , but then is not a perfect square. We conclude that there are no solutions in this case.
III.
Let . Then is rational if and only if is a perfect square, i.e., there exists such that . Then . As , is odd and . We distinguish the following sub-cases:
A. ,
B. ,
C. ,
D. ,
In sub-case A we obtain , i.e., . It follows that and should be powers of , but no two powers of are at distance .
Sub-case B leads to and, immediately, to , with no solutions.
In sub-case C we get . Then and , therefore needs to be odd. It follows that , hence , i.e., . We obtain the solution .
Sub-case D leads to and then to , with no solutions.
IV.
Let . Then is rational if and only if there exist coprime such that , i.e., such that . Numbers and are coprime, hence, as in case I, they need to be perfect squares. We have seen in the previous case that is a perfect square only when and , but in this situation is not a perfect square. We conclude that in this case there are no solutions.
To summarize, the only solutions to the problem are and , .
Final answer
(1, 1) and (-2, 1)
Techniques
Techniques: modulo, size analysis, order analysis, inequalitiesGreatest common divisors (gcd)Factorization techniques