2. The sum of the sum and the product of two positive integers is 2005, and one of them is a perfect square. Then the difference between the larger number and the smaller number is
Problem 545
Official solution
.
Let the larger of these two positive integers be , and the smaller one be , then
which means .
Notice that, the only possibilities are
Therefore, or .