How many numbers in the sequence can be expressed as the sum of the squares of two positive integers?
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.
For any integer n , n 2 ≡ 0 , 1 , 4 ( m o d 8 ) . Thus the sum of two squares can be 0 , 1 , 2 , 4 , 5 ( m o d 8 ) . All numbers in the given series are either 6 or 7 m o d 8 .