If $n^3+1$ is a perfect square, find all integer values of $n$. I have proved that when n³+1 is even then the only solution for n is $-1$. However, I am not so confident for my solution in the case of $n^3+1$ being odd. I would appreciate answers solving this specific case. The solutions are $-1,0,2$.
Note: I am aware that this question has been asked already however the solution makes use of elliptic curves and I would prefer a quite elementary and simple solution.