1962 AHSME Problems/Problem 36
Problem
If both and
are both integers, how many pairs of solutions are there of the equation
?
Solution
The equality implies and
are both powers of two; since they differ by two, it must be the case that
or
. (Note that
is not allowed because then the product is negative.) These yield
or
, for a total of
solutions.