Problem:
For positive integers , let . Determine all for which is a square number.
Problem:
For positive integers , let . Determine all for which is a square number.
Solution:
We distinguish two cases depending on the parity of .
Suppose first that is odd, where . Then
If , this is the square number . If then , so is not square.
Now suppose is even, where . Then is always square.
Hence is square exactly when or is even.