How many integers between 1 and 100 can be written as the difference of two perfect squares?
For this problem, do not consider 0 as a perfect square.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
We have a 2 − b 2 only have form 2 k + 1 or 4 k . They will not have the form 4 k + 2 .
From 1 to 100 there are 49 numbers with the form 2 k + 1 - We have to exclude number 1
From 1 to 100 there are 24 numbers with the form 4 k - We have to exclude number 4.
Therefore we have 4 9 + 2 4 = 7 3