Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

number theory senior

Problem

How many of the integers between 1 and 1000, inclusive, can be expressed as the difference of the squares of two nonnegative integers?
Solution
Notice that all odd numbers can be obtained by using where is a nonnegative integer. All multiples of can be obtained by using , where is a positive integer. Numbers congruent to cannot be obtained because squares are Thus, the answer is
Final answer
750