Find the sum of all integers such that are both perfect squares.
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.
Suppose that n − 5 0 = p 2 n + 5 0 = q 2 Subtracting 2nd equation from first we get as q 2 − p 2 = 1 0 0 ( q + p ) ( q − p ) = 1 0 0 The left sides of above equation is the product of all possible divisor of 100. So 100 has the following total productial divisors. ( q + p ) ( q − p ) = ⎩ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎨ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎧ 1 × 1 0 0 2 × 5 0 4 × 2 5 5 × 2 0 1 0 × 1 0 Equating the LHS divisors to RHS one p and q will be only integer iff ( q − p ) ( p + q ) = { 2 × 5 0 1 0 × 1 0 Solving above 4 equations we get q = 2 6 , 2 4 and p = 1 0 , 0 and replugging the values in the above equations we get either n = 6 2 6 or n = 5 0
So the final answer is 6 7 6 .