8

I have to prove that for any $n>1$, the number $n^5+n^4+1$ is not a prime.With induction I have been able to show that it is true for base case $n=2$, since $n>1$.However, I cannot break down the given expression involving fifth and fourth power into simpler terms. Any help?

Daniel Fischer
  • 206,697

3 Answers3

20

$n^5 + n^4 + 1 = n^5 + n^4 + n^3 – n^3 – n^2 − n + n^2 + n + 1$

$\implies$$ n^3(n^2 + n + 1) − n(n^2 + n + 1) + (n^2 + n + 1)$

=$ (n^2 + n + 1)(n^3 − n + 1)$

Hence, for $n>1$, $n^5 + n^4 + 1$ is not a prime number.

7

$n^5+n^4+1=(n^3-n+1)(n^2+n+1)$

apprenant
  • 746
5

$$n^5+n^4+1=n^5-n^2+n^4+n^2+1=n^2(n-1)(n^2+n+1)+(n^2+n+1)(n^2-n+1)=$$ $$=(n^2+n+1)(n^3-n^2+n^2-n+1)=(n^2+n+1)(n^3-n+1)$$ I think, the best way is the following: $$n^5+n^4+1=n^5+n^4+n^3-(n^3-1)=(n^2+n+1)(n^3-n+1)$$