# The only prime of the form n^3-1 is 7?

• Math100

#### Math100

Homework Statement
Prove the assertion below:
The only prime of the form n^3-1 is 7.
[Hint: Write n^3-1 as (n-1)(n^2+n+1).]
Relevant Equations
None.
Proof: Suppose p is a prime such that p=n^3-1.
Then we have p=n^3-1=(n-1)(n^2+n+1).
Note that prime number is a number that has only two factors,
1 and the number itself.
Since n^2+n+1>1 for ##\forall n\in\mathbb{N}##,
it follows that n-1=1, and so n=1+1=2.
Thus n=2, and so p=n^3-1=2^3-1=8-1=7.
Therefore, the only prime of the form n^3-1 is 7.

Above is my proof for this assertion. Can anyone please verify/review it and see if it's correct?

• fresh_42
Homework Statement:: Prove the assertion below:
The only prime of the form n^3-1 is 7.
[Hint: Write n^3-1 as (n-1)(n^2+n+1).]
Relevant Equations:: None.

Above is my proof for this assertion. Can anyone please verify/review it and see if it's correct?
It is correct, and your wording is improving!

• Math100
It is correct, and your wording is improving!
Thank you!