Find the sum of all integers such that will be 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.
Let x 2 = n 2 − 1 8 n − 4 = ( n − 9 ) 2 − 8 5 , or 8 5 = ( n − 9 ) 2 − x 2 , or in alternate form of 8 5 = ( n − 9 − x ) ( n − 9 + x ) . As 8 5 = 5 × 1 7 and 5 and 17 are prime, we can get that
( n − 9 − x , n − 9 + x ) = ( − 8 5 , − 1 ) , ( − 1 7 , − 5 ) , ( 1 , 8 5 ) , ( 5 , 1 7 )
or simply n − 9 = − 4 3 , − 1 1 , 4 3 , 1 1 . The sum of n − 9 equals to zero, so the sum of n equals to 0 + 9 ( 4 ) = 3 6 . To be more specific, all value of n = − 3 4 , − 2 , 5 2 , 2 0