Prove that: $$\text{If} \space m^2=(a+1)^3-a^3\text{ where}\space m,a\in\mathbb{N} \implies \exists c,d \in\mathbb{N}\space \text{ such that}\space m=c^2+d^2.$$ Maybe it is wrong, if it is let me know why. I really need answer of this question.
(I asked this question in Edit of this link but I need to find answer soon so I just ask it again here.)
Edit (and hint): It has an answer like $m = n^2+(n+1)^2$ but I don't know how to find this n
for m
from above equation.