If is a positive integer such that is a perfect square, then
Problem 1303
Official solution
1. Let for some integer . This implies:
2. Since is even, must also be even. Note that and are two consecutive even numbers, so one of them must be divisible by 2, and the other must be divisible by 4. Therefore, is divisible by 8.
3. Let us check if must be odd. Suppose is even, say . Then:
This implies . The quadratic residues modulo 16 are , so is possible. Therefore, can be even.
4. Now, let us check if can be a perfect square. Suppose . Then:
This is a Pell's equation, which has infinitely many solutions in integers . Therefore, can be a perfect square.
5. Since can be even and can be a perfect square, options (A), (B), and (C) are incorrect. Therefore, the correct answer is: