Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Any integer solutions to $3n^{2}+3n+1=m^{3}$?

share|cite|improve this question

We have that $$3n^2 + 3n + 1 = m^3$$ Adding $n^3$ to both sides, we get that $$n^3 + 3n^2 + 3n+1 = m^3 + n^3$$ $$(n+1)^3 = m^3 + n^3$$ Hence, no solution exists except for trivial solutions. (This is of-course the Fermat's theorem where the exponent is $3$. The proof for the exponent $3$ is actually not that hard.)

And the trivial solutions are

$$n=0 \text{ gives us }m=1$$

$$n=-1 \text{ gives us }m=1$$

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.