Recently I met a problem when I'm studying algebraic number theory.
Problem. Find all positive integer solutions of $y^3=x^2+20$.
I solved the situation when $x$ is an odd because the two ideals $(x+2\sqrt{-5})\text{ and }(x-2\sqrt{-5})$ are relatively prime, so it must be a cube of a principal ideal for the ideal class number of $\mathbb{Z}[\sqrt{-5}]$ is $2$. But when $x$ is an even, let $x=2k$, then I know that $(k+\sqrt{-5})=IJ^3$, where $I=(2,1+\sqrt{-5})$, and $J$ is also a ideal. I don't know how to deal with it for they aren't principal ideals anymore. I believe that there is a unique solution $(x,y)=(14,6)$, and wish that someone could solve it.
I'm also interested in whether there is a method by elementary number theory, thanks.