A perfect problem

Find all integers x x for which x 4 + x 3 + x 2 + x + 1 x^4+x^3+x^2+x+1 is a perfect square.


Note

  • Enter your answer as the sum of all such values.


The answer is 2.

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.

5 solutions

Vishal Oraon
Nov 27, 2014

Suppose y^2= x^4+x^3+x^2+x+1 ( y being an integer). Right hand side of the expression can be written as (x^2+x/2+3/8)^2+(5x/8+55/64). Multiplying both sides by 64, expression becomes: (8y)^2=(8x^2+4x+3)^2+(40x+55) [ 8y=n & (8x^2+4x+3)= m say] Now (40x+55)=0 not possible( as it does not give integer x). Therefore, abs(40x+55)>= 2(8x^2+4x+3)-1 [because n^2 and m^2 will differ by AT LEAST 2m-1] Which gives ((4-√66)/4)<=x<=((4+√66)/4). Check the integer values for x in this region. x= -1, 0, 3 So the sum is -1+0+3=2.

Learnt from Nanthan Ramesh note -

x 5 1 x 1 = 0 , x 5 = 1 \dfrac{x^5 - 1}{x - 1} = 0 , x^5 = 1

x 4 x 5 + x 3 x 5 + x 2 + x + 1 \dfrac{x^4}{x^5} + \dfrac{x^3}{x^5} + x^2 +x + 1

= 1 x + 1 x 2 + x 2 + x + 1 = \dfrac{1}{x} + \dfrac{1}{x^2} + x^2 + x + 1

x + 1 x = y x + \dfrac{1}{x} = y

U Z - 6 years, 5 months ago
Eilon Lavi
Dec 19, 2014

For clarity let y 2 = x 4 + x 3 + x 2 + x + 1 y^2=x^4+x^3+x^2+x+1 .

Note

( x 2 + 1 2 x ) 2 = x 4 + x 3 + 1 4 x 2 < x 4 + x 3 + 1 4 x 2 + 3 4 ( x + 2 3 ) 2 + 2 3 = y 2 (x^2+\dfrac{1}{2}x)^2 =x^4+x^3+\dfrac{1}{4}x^2 < x^4+x^3 + \dfrac{1}{4} x^2 + \dfrac{3}{4} (x + \dfrac{2}{3})^2 + \dfrac{2}{3} = y^2

And: y 2 x 4 + x 3 + 9 4 x 2 + x + 1 = ( x 2 + 1 2 x + 1 ) 2 y^2 \le x^4+x^3+\dfrac{9}{4} x^2 + x +1 = (x^2 + \dfrac{1} {2} x +1)^2

So we have ( x 2 + 1 2 x ) 2 < y 2 ( x 2 + 1 2 x + 1 ) 2 (x^2+\dfrac{1}{2}x)^2 < y^2 \le (x^2+\dfrac{1}{2}x+1)^2 with equality when x=0.

We see x = 0 x=0 is indeed a solution. For x 0 x \neq 0 , the inequality shows that x cannot be even. If x is odd, y must be in between the two "consecutive" numbers.

So we have y = x 2 + 1 2 x + 1 2 y=x^2+\dfrac{1}{2}x+\dfrac{1}{2}

Plugging in to the original equation, we get:

( x 2 + 1 2 x + 1 2 ) 2 = x 4 + x 3 + x 2 + x + 1 (x^2+\dfrac{1}{2}x+\dfrac{1}{2})^2 = x^4+x^3+x^2+x+1

1 4 x 2 1 2 x 3 4 = 0 \implies \dfrac{1}{4} x^2 - \dfrac{1}{2} x - \dfrac{3}{4} =0

x 2 2 x 3 = 0 x^2 - 2x -3 =0

( x 3 ) ( x + 1 ) = 0 (x-3)(x+1)=0

So x = 0 , 1 , 3 x=0, -1, 3

Nayanmoni Baishya
Nov 23, 2014

The above expression will be a perfect square only for x=0,-1,3.

Why are those the only possible values?

Calvin Lin Staff - 6 years, 6 months ago

Log in to reply

Ms.Excel Fail me

math man - 6 years, 6 months ago
Aareyan Manzoor
Dec 21, 2014

x 4 + x 3 + x 2 + x + 1 = n 2 x^4+x^3+x^2+x+1=n^2 x 3 ( x + 1 ) + x ( x + 1 ) = n 2 1 x^3(x+1)+x(x+1)=n^2 -1 ( x 3 + x ) ( x + 1 ) = ( n 1 ) ( n + 1 ) (x^3+x)(x+1)=(n-1)(n+1) x ( x 2 + 1 ) ( x + 1 ) = ( n 1 ) ( n + 1 ) x(x^2+1)(x+1)=(n-1)(n+1) consider all possibilities x ( x 2 + 1 ) = n 1 , x + 1 = n + 1. s o l v i n g f o r x = 1 x(x^2+1)=n-1,x+1=n+1. solving \quad for\quad x =-1 x ( x + 1 ) = n 1 , x 2 + 1 = n + 1. s o l v i n g f o r x = 1 x(x+1)=n-1,x^2+1=n+1. solving \quad for\quad x =-1 x ( x + 1 ) ( x 2 + 1 ) = n + 1. n 1 = 1 s o l v i n g f o r x = n o t i n t e g r a l x(x+1)(x^2+1)=n+1.n-1=1 solving \quad for\quad x =\quad not\quad integral x ( x 2 + 1 ) = n + 1 , x + 1 = n 1. s o l v i n g f o r x = n o t i n t e g r a l x(x^2+1)=n+1,x+1=n-1. solving \quad for\quad x =\quad not\quad integral x ( x + 1 ) = n + 1 , x 2 + 1 = n 1. s o l v i n g f o r x = 3 x(x+1)=n+1,x^2+1=n-1. solving \quad for\quad x =3 ( x + 1 ) ( x 2 + 1 ) = n + 1. , n 1 = x s o l v i n g f o r x = 0 (x+1)(x^2+1)=n+1.,n-1=x solving \quad for\quad x =0 all other either is not integral or is repeated from 1 , 0 , 3 -1,0,3 so, 1 + 0 + 3 = 2 -1+0+3=\boxed{2}

It is not given that x x is a prime nor are any of the factors. You cannot equate factors like this (this happens only in the case of primes).

Aneesh Kundu - 6 years, 5 months ago

For relatively large values we realize this value is between two consecutive squares.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...