The equation $y^2 = x^3+k$, where $k \in \mathbb{Z}$ is called Mordell-Bachet equation. An excellent resource for this is Keith Conrad's article, where he discusses integer solutions. Your problem is on page $6$, theorem $3.4$.
– Dec 04 '13 at 18:36
See J. W. S. Cassels, The rational solutions of the diophantine equation $y^2 = x^3 - D.$ Acta Arithmetica, volume 82 (1950) pages 243-273.
– Dietrich BurdeDec 04 '13 at 18:37