$n^2 + (n+1)^2 = m^3$ has no solution in the positive integers

The problem from Burton: show that the equation $n^2 + (n+1)^2 = m^3$ has no solution in the positive integers.

So far, I can see that gcd($n$,$n+1$)$=1$ and $m \equiv_4 1$ and $m=a^2 + b^2$ for some integers a,b. I'm guessing I need to reach a contradiction.

At this point, I am stuck. Any hints?


The equation is equivalent to $(2(2n+1))^2+4=(2m)^3$.

$a^2+4=b^3$ with $a,b\in\mathbb Z$ is a Mordell's Equation. See this paper (page $6$) for an elementary solution that uses $\Bbb Z[i]$ (the Gaussian integers). The only solutions are $(a,b)=(\pm 2,2), (\pm 11, 5)$.

$2m$ is even, so $2m=2$ and $2(2n+1)=\pm 2$, so the only integer solutions are $(m,n)=(1,-1),(1,0)$.