Given with is a positive integer.
If , where is a positive integer, type , otherwise type .
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.
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
A is a perfect square only if n 2 + 1 is a perfect square. But n 2 + 1 is not a perfect square for all positive integer n . Therefore, the answer is − 1 .