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

  • Thread starter Thread starter Math100
  • Start date Start date
  • Tags Tags
    Form Prime
Math100
Messages
816
Reaction score
229
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?
 
Physics news on Phys.org
Math100 said:
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!
 
fresh_42 said:
It is correct, and your wording is improving!
Thank you!
 
Back
Top