1997 AIME Problem 1
Problem 1 of 15EasierAlgebraNumber Theory
How many of the integers between and inclusive, can be expressed as the difference of the squares of two nonnegative integers?
Your answer
Integer from 0 to 999
Show solution
Solution
Write The factors and differ by the even number so they have the same parity. If both are odd, is odd; if both are even, is divisible by Hence no integer is a difference of two squares.
Conversely, every odd number equals and every multiple of say equals (with since ).
Between and there are odd numbers and multiples of for a total of
Tagged: difference of squares · parity