Browse · MathNet
Print66th Czech and Slovak Mathematical Olympiad
Czech Republic number theory
Problem
Let be an integer. Prove that the number of ordered pairs of integers satisfying
Solution
Multiplying both sides by yields Any solution to the original equation is a solution to (1), but (1) can have extra solutions satisfying , tj. . A pair is a solution to (1) if and only if , that is . Equation (1) therefore has exactly one more solution than the original one and it suffices to prove that equation (1) has an even number of integer solutions if and only if . We rewrite (1) as a quadratic equation in . Its discriminant satisfies which is, for every , a quadratic function in bounded from above. Therefore, for any integer , the discriminant is non-negative for only finitely many integers and equation (2) has only finitely many integer solutions .
If for some integer , the equation (2) has precisely two real solutions that can only be integer simultaneously, for their sum is an integer. For any such we get an even number of solutions to (2). We see that either for or for . In the first case, equation (2) reduces to with double root and the equation (1) has only one solution with . In the second case, is integer if and only if is divisible by 7 and then equation (2) has a double root , therefore is the only solution to equation (1) with . Moreover, the two solutions and are different as . We see that equation (1) has an even number of integer solutions if and only if is divisible by 7. We conclude.
If for some integer , the equation (2) has precisely two real solutions that can only be integer simultaneously, for their sum is an integer. For any such we get an even number of solutions to (2). We see that either for or for . In the first case, equation (2) reduces to with double root and the equation (1) has only one solution with . In the second case, is integer if and only if is divisible by 7 and then equation (2) has a double root , therefore is the only solution to equation (1) with . Moreover, the two solutions and are different as . We see that equation (1) has an even number of integer solutions if and only if is divisible by 7. We conclude.
Techniques
Techniques: modulo, size analysis, order analysis, inequalitiesQuadratic functions