I am preparing for an exam in Algebraic number theory and I wanted to solve the following exercise:
a) Find the class group $\mathrm{Cl}(\mathcal{O}_K)$ of the field $K=\mathbb{Q}(\sqrt{-37})$.
b) Determine the complete set of the integer solutions to the equation $$x^2+37=y^3$$
I have successfully proven that $\mathrm{Cl}(\mathcal{O}_K)\cong \mathbb{Z}/2\mathbb{Z}$. Now, for the second part of the exercise, after a little investigation I have concluded that if $(x,y)$ is an integer solution then $x$ must be even and $y$ must be odd by assuming the opposite and then going modulo $8$ to arrive at a contradiction but after that I am getting lost. I know a method of examining whether there are or not integer solutions to the equation $x^2 +d=y^3$ when $\mathbb{Z}[\sqrt{d}]$ is a UFD. Although, this is not the case for our $d=-37$ since $\mathbb{Z}[\sqrt{-37}]$ is not a UFD.
Also, I have the same problem with the exercise:
-Determine the complete set of the integer solutions to the equation $$x^2+11=y^3$$
Finally, I know that the equations above are strongly related to elliptic curves but I cannot use such arguments.