2008 AIME I Problems/Problem 4
From AoPSWiki
Problem
There exist unique positive integers
and
that satisfy the equation
. Find
.
Contents |
Solution
Solution 1
Completing the square,
. Thus
by difference of squares.
Since
is even, one of the factors is even. A parity check shows that if one of them is even, then both must be even. Since
, the factors must be
and
. Since
, we have
and
; the latter equation implies that
.
Indeed, by solving, we find
is the unique solution.
Solution 2
We complete the square like in the first solution:
. Since consecutive squares differ by the consecutive odd numbers, we note that
and
must differ by an even number. We can use casework with the even numbers, starting with
.

Solution 3
We see that
. By quadratic residues, we find that either
. Also,
, so
. Combining, we see that
.
Testing
and other multiples of
, we quickly find that
is the solution.
Solution 4
So
is a perfect square. Since 244 is even, the difference
is even, so we try
:
,
.
Plugging into our equation, we find that
, and
indeed satisfies the original equation.
Solution 5
Let
for some
, substitute into the original equation to get
.
All terms except for the last one are even, hence
must be even, hence let
. We obtain
. Rearrange to
.
Obviously for
the right hand side is negative and the left hand side is positive. Hence
. Let
, then
.
We have
. Left hand side simplifies to
. As
must be an integer,
must divide the left hand side. But
is a prime, which only leaves two options:
and
.
Option
gives us a negative
. Option
gives us
, and
, hence
.
See also
| 2008 AIME I (Problems • Resources) | ||
| Preceded by Problem 3 | Followed by Problem 5 | |
| 1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||







