Find the sum of all positive integers such that has an integral solution.
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.
Case 1
n is even. Then the LHS is a sum of perfect squares, and perfect squares are non-negative. Equality holds if and only if ⎩ ⎪ ⎨ ⎪ ⎧ x = 0 x + 2 = 0 2 − x = 0
But this cannot be true for a fixed x . Therefore, no solutions x exist when n is even.
Case 2
n is odd. x n + ( x + 2 ) n = ( x − 2 ) n
x , x + 2 , x − 2 are integers and n is a positive integer. We can apply Fermat's Last Theorem . There are no integer solutions x when n > 2 , hence the only odd possibility of n is 1 . After checking the case n = 1 , it's clear that x = − 4 , which is an integer.
Hence the only possibility is n = 1 . The answer is 1 .