How many perfect square?

Find the sum of all positive integers n n such that n 4 + n 3 + n 2 + n + 1 n^{4}+n^{3}+n^{2}+n+1 is a perfect square.


The answer is 3.

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

Note that for positive integers x x we have that

( 2 x 2 + x ) 2 = 4 x 4 + 4 x 3 + x 2 < 4 x 4 + 4 x 3 + 4 x 2 + 4 x + 4 (2x^{2} + x)^{2} = 4x^{4} + 4x^{3} + x^{2} \lt 4x^{4} + 4x^{3} + 4x^{2} + 4x + 4 .

Also, we have that

( 2 x 2 + x + 1 ) 2 = 4 x 4 + 4 x 3 + 5 x 2 + 2 x + 1 > 4 x 4 + 4 x 3 + 4 x 2 + 4 x + 4 (2x^{2} + x + 1)^{2} = 4x^{4} + 4x^{3} + 5x^{2} + 2x + 1 \gt 4x^{4} + 4x^{3} + 4x^{2} + 4x + 4

whenever x 2 > 2 x + 3 x 2 2 x 3 > 0 ( x + 1 ) ( x 3 ) > 0 x^{2} \gt 2x + 3 \Longrightarrow x^{2} - 2x - 3 \gt 0 \Longrightarrow (x + 1)(x - 3) \gt 0 ,

which is the case for x > 3 x \gt 3 , (and also x < 1 x \lt -1 , but this is not relevant to this question).

So letting S = x 4 + x 3 + x 2 + x + 1 S = x^{4} + x^{3} + x^{2} + x + 1 and m = 2 x 2 + x m = 2x^{2} + x we have that, for x > 3 x \gt 3 ,

m 2 < 4 S < ( m + 1 ) 2 ( m 2 ) 2 < S < ( m + 1 2 ) 2 m^{2} \lt 4S \lt (m + 1)^{2} \Longrightarrow \left(\dfrac{m}{2}\right)^{2} \lt S \lt \left(\dfrac{m + 1}{2}\right)^{2} .

Now if x x is even, thus making m = 2 k m = 2k even, then k 2 < S < ( k + 1 2 ) 2 < ( k + 1 ) 2 k^{2} \lt S \lt (k + \frac{1}{2})^{2} \lt (k + 1)^{2} ,

and if x x is odd, thus making m = 2 k + 1 m = 2k + 1 odd, then k 2 < ( k + 1 2 ) 2 < S < ( k + 1 ) 2 k^{2} \lt (k + \frac{1}{2})^{2} \lt S \lt (k + 1)^{2} .

Either way, for x > 3 x \gt 3 we have that S S lies strictly between two perfect squares, and thus cannot be a perfect square itself. So we are left to simply check the cases x = 1 , 2 , 3 x = 1,2,3 , which in turn yield values for S S of 5 , 31 5, 31 and 121 = 1 1 2 121 = 11^{2} , the latter being the only perfect square. Thus as x = 3 x = 3 is the only positive integer that makes S S a perfect square, the sum of all such values is 3 \boxed{3} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...