Perfect Squares

Find the sum of all positive integers n n for which x n + y n + z n 2 \dfrac{x^n+ y^n+ z^n}2 is a perfect square whenever x , y x,y and z z are integers such that x + y + z = 0 x+y+z = 0 .


The answer is 5.

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.

1 solution

Patrick Corn
Dec 1, 2017

If n = 1 n=1 then the expression is always zero. If n = 4 n=4 the expression simplifies to ( x 2 + x y + y 2 ) 2 . (x^2+xy+y^2)^2.

Now let x = 1 , y = 1 , z = 2. x=-1,y=-1,z=2. The expression becomes 2 n 1 + ( 1 ) n . 2^{n-1} + (-1)^n. Clearly this is not a square for n = 2 , 3 , n=2,3, so we can restrict our attention to n 5. n \ge 5.

If n n is odd then we get a 2 1 = b 2 a^2-1 = b^2 where a = 2 ( n 1 ) / 2 a = 2^{(n-1)/2} and b b is a positive integer, so ( a b ) ( a + b ) = 1 (a-b)(a+b) =1 which is clearly impossible for positive integers a , b . a,b.

If n n is even then we get 2 n 1 + 1 = b 2 2^{n-1} + 1 = b^2 for some positive integer b , b, so ( b 1 ) ( b + 1 ) = 2 n 1 . (b-1)(b+1) = 2^{n-1}. So both b 1 b-1 and b + 1 b+1 are powers of 2 , 2, but their gcd is at most 2 , 2, so one of them is 2. \le 2. So b 3. b \le 3. But this is impossible for n 5. n \ge 5.

So there are no other admissible values of n , n, so the answer is 1 + 4 = 5 . 1+4=\fbox{5}.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...