2015 USAMO Problems/Problem 1
Problem
Solve in integers the equation
Solution
We first notice that both sides must be integers, so must be an integer.
We can therefore perform the substitution where
is an integer.
Then:
is therefore the square of an odd integer and can be replaced with
By substituting using we get:
or
Using substitution we get the solutions:
Solution 2
Let .
Thus,
.
We have
Substituting
for
, we have
Treating
as a variable and
as a constant, we have
which turns into
a quadratic equation.
By the quadratic formula,
which simplifies to
Since we want
and
to be integers, we need
to be a perfect square.
We can factor the aforementioned equation to be
for an integer
.
Since
is always a perfect square, for
to be a perfect square,
has to be a perfect square as well.
Since
is odd, the square root of the aforementioned equation must be odd as well.
Thus, we have
for some odd
.
Thus,
in which by difference of squares it is easy to see that all the possible values for
are just
, where
is a positive integer.
Thus,
Thus, the general form for
for a positive integer
.
(This is an integer since
is an even perfect square (since
is always even, as well as
being always even) as established, and
is always even as well. Thus, the whole numerator is even, which makes the quantity of that divided by
always an integer.)
Since
, the general form for
is just
(This is an integer since
is an even perfect square (since
is always even, as well as
being always even) as established, and
is always even as well. Thus, the whole numerator is even, which makes the quantity of that divided by
always an integer, which thus trivially makes
an integer.)
for a positive integer
.
Thus, our general in integers
is
-fidgetboss_4000