Is this a square number?

Algebra Level 2

Given A = n 4 + 2 n 3 + 2 n 2 + 2 n + 1 A=n^4+2n^3+2n^2+2n+1 with n n is a positive integer.

If A = a 2 A=a^2 , where a a is a positive integer, type a a , otherwise type 1 -1 .


The answer is -1.

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

Chew-Seong Cheong
Oct 20, 2019

A = n 4 + 2 n 3 + 2 n 2 + 2 n + 1 = ( n 4 + 2 n 2 + 1 ) + 2 n 3 + 2 n = ( n 2 + 1 ) 2 + 2 n ( n 2 + 1 ) = ( n 2 + 1 ) ( n 2 + 2 n + 1 ) = ( n 2 + 1 ) ( n + 1 ) 2 \begin{aligned} A & = n^4+2n^3 + 2n^2+2n+1 \\ & = \left(n^4+2n^2+1 \right) + 2n^3+2n \\ & = \left(n^2+1 \right)^2 + 2n\left(n^2+1 \right) \\ & = \left(n^2+1 \right)\left(n^2+2n+1 \right) \\ & = \left(n^2+1 \right)\left(n+1 \right)^2 \end{aligned}

A A is a perfect square only if n 2 + 1 n^2+1 is a perfect square. But n 2 + 1 n^2 + 1 is not a perfect square for all positive integer n n . Therefore, the answer is 1 \boxed{-1} .

1 pending report

Vote up reports you agree with

×

Problem Loading...

Note Loading...

Set Loading...