# Math Help - no positive integers

1. ## no positive integers

Show no positive integers m for which m^4 + 2m^3 + 2m^2 + 2m + 1 is a perfect square. Are there any positive integers m for which m^4 +m^3 +m^2 +m+1 is a perfect square?

If so, find all such m.

2. Originally Posted by Fayyaz
Show no positive integers m for which m^4 + 2m^3 + 2m^2 + 2m + 1 is a perfect square. Are there any positive integers m for which m^4 +m^3 +m^2 +m+1 is a perfect square?

If so, find all such m.
Hi

$m^4 + 2m^3 + 2m^2 + 2m + 1 = m^4 + 2m^2 + 1 + 2m^3 + 2m
= (m^2 + 1)^2 + 2m\
m^2 + 1)" alt="m^4 + 2m^3 + 2m^2 + 2m + 1 = m^4 + 2m^2 + 1 + 2m^3 + 2m
= (m^2 + 1)^2 + 2m\m^2 + 1)" />

$m^4 + 2m^3 + 2m^2 + 2m + 1 = (m^2 + 1)\m^2 + 2m + 1) = (m^2 + 1)\m+1)^2" alt="m^4 + 2m^3 + 2m^2 + 2m + 1 = (m^2 + 1)\m^2 + 2m + 1) = (m^2 + 1)\m+1)^2" />

3. Hello, Fayyaz!

running-gag has an excellent proof, but omitted the punchline.

$N \;=\;m^4 + 2m^3 + 2m^2 + 2m + 1 \;=\; m^4 + 2m^2 + 1 + 2m^3 + 2m$

. . $=\; (m^2 + 1)^2 + 2m\,(m^2 + 1) \;=\; (m^2 + 1)\,(m^2 + 2m + 1) \;=\; (m^2 + 1)\,(m+1)^2$

If $N$ is a square, then $(m^2+1)$ must be a square.

. . Hence, $m^2 + 1 \:=\:a^2\quad\hdots$ for some integer $a.$

Then: . $a^2-m^2 \:=\:1 \quad\hdots$ two squares differ by 1.

. . But the only two squares that differ by 1 are: . $a = \pm1,\text{ and }\, m = 0$

Since $m$ must be a positive integer, no solution exists.

4. thanks guys

how should i proceed with the next bit:

Are there any positive integers m for which m^4 +m^3 +m^2 +m+1 is a perfect square?

5. Hello Fayyaz
Originally Posted by Fayyaz
thanks guys

how should i proceed with the next bit:

Are there any positive integers m for which m^4 +m^3 +m^2 +m+1 is a perfect square?
When $m = 3, m^4 +m^3 +m^2 +m+1=121 = 11^2$. So there's certainly one value. Whether there are any more, I don't know.