I have that part: n^3 +1= (n+1)(n^2-n+1). Just dont know where to go from. I know that 2 is the only integer that will work but i just dont know how to prove it.
I have that part: n^3 +1= (n+1)(n^2-n+1). Just dont know where to go from. I know that 2 is the only integer that will work but i just dont know how to prove it.
Well because you can factor $\displaystyle n^3+1$ as a product of two integers.
So how can it be prime?