Browse · MathNet
PrintCroatia_2018
Croatia 2018 number theory
Problem
Determine all pairs of integers such that
Solution
We are given the equation Let's rewrite it as Group terms: Recall that , so Let us solve for in terms of .
Alternatively, move all terms to one side: This is a quadratic in : The discriminant must be a perfect square for integer solutions: So must be a perfect square, say for some integer : So So must be a perfect square times . But must be even, so let for some integer : So for some integer .
Now, rearrange: This is a quadratic in : The discriminant must be a perfect square: So must be a perfect square, say : So
This is a Pell-type equation.
Let us solve in integers.
Try small integer values for : - : (no integer solution) - : , - : , - : (no integer solution) - : (no integer solution) - : (no integer solution) - : (no integer solution) - : (no integer solution)
So only and work, with .
Now, recall For : So or
For : Same as above, or
Now, recall is given by the quadratic: For : For : So same as above,
Therefore, the integer solutions are:
Thus, all integer pairs such that are:
Alternatively, move all terms to one side: This is a quadratic in : The discriminant must be a perfect square for integer solutions: So must be a perfect square, say for some integer : So So must be a perfect square times . But must be even, so let for some integer : So for some integer .
Now, rearrange: This is a quadratic in : The discriminant must be a perfect square: So must be a perfect square, say : So
This is a Pell-type equation.
Let us solve in integers.
Try small integer values for : - : (no integer solution) - : , - : , - : (no integer solution) - : (no integer solution) - : (no integer solution) - : (no integer solution) - : (no integer solution)
So only and work, with .
Now, recall For : So or
For : Same as above, or
Now, recall is given by the quadratic: For : For : So same as above,
Therefore, the integer solutions are:
Thus, all integer pairs such that are:
Final answer
(1, 2), (1, 4), (-2, 2), (-2, 4)
Techniques
Pell's equationsFactorization techniquesQuadratic functions