Find the sum of all those integers for which is a square of an integer.
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.
n 2 + 2 0 n + 1 5 = m 2
( n + 1 0 ) 2 − 8 5 = m 2
Let k = n + 1 0 ⇒ n = k − 1 0
k 2 − m 2 = 8 5
Now, we can see that |k| > |m|
( k + m ) ( k − m ) = 8 5
The factors of 85 are: ±1, ±85, ±5 and ±17.
We can form the following ( f 1 , f 2 ) = ( k + m , k − m ) , f 1 × f 2 = 8 5 pairs:
(85, 1) ; (-85, -1) ; (17, 5) and (-17, -5) (and vice versa, however the reversed pairs won't give us new solutions for k (and n), we would only need those, if we had to determine the m values as well).
f 1 + f 2 = ( k + m ) + ( k − m ) = 2 k ⇒ k = 2 f 1 + f 2
This gives us the following 4 solutions for k: ± 43 and ± 11 .
It is easy to see now, that the sum of the distinct k values is 0.
Hence, thee sum of the distinct n values is:
0 − 4 × 1 0 = − 4 0