When is it a square?

Algebra Level 3

For what positive integer n n is the expression n 4 + n 3 + n 2 + n + 1 n^4+n^3+n^2+n+1 a perfect square?

Write your answer as the sum of all possible values of n . n.

If you think there are no such values for n , n, give your answer as 9000. -9000.


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

Mark Hennings
Aug 1, 2018

If F ( n ) = n 4 + n 3 + n 2 + n + 1 F(n) = n^4 + n^3 + n^2 + n + 1 then F ( 1 ) = 5 F(1) = 5 and F ( 2 ) = 31 F(2) = 31 , so for F ( n ) F(n) to be a square we need n 3 n \ge 3 .

Suppose now that n 3 n \ge 3 and that F ( n ) = m 2 F(n) = m^2 for some positive integer m m . Now ( n 2 ) 2 = n 4 < F ( n ) < n 4 + 2 n 3 + n 2 = ( n 2 + n ) 2 (n^2)^2 = n^4 < F(n) < n^4 + 2n^3 + n^2= (n^2+n)^2 , so we deduce that n 2 < m < n 2 + n n^2 < m < n^2 + n . Thus m = n 2 + b m = n^2 + b for some 1 b n 1 1 \le b \le n-1 . Thus n 4 + n 3 + n 2 + n + 1 = F ( n ) = ( n 2 + b ) 2 = n 4 + 2 b n 2 + b 2 n^4 + n^3 + n^2 + n + 1 \; = \; F(n) \; = \; (n^2 + b)^2 \; = \; n^4 + 2bn^2 + b^2 Since 1 b n 1 1 \le b \le n-1 , we deduce that b 2 = n + 1 b^2= n+1 , and hence 2 b = n + 1 2b = n+1 as well. Thus b 2 = 2 b b^2 = 2b , and hence we must have b = 2 b=2 , n = 3 n=3 .

The only solution is n = 3 n = \boxed{3} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...