This question already has an answer here:
- Integers that satisfy $a^3= b^2 + 4$ 4 answers
Find all integer solutions to $x^2+4=y^3$.
Some obvious solutions are $(x,y)=(\pm2,2)$. Are these the only ones?
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
These are examples of Mordell's equation. The only solutions are $(\pm 2,2)$ and $(\pm 11,5)$ to equation $x^2+4 = y^3$. The same problem is discussed in theorem $3.3$ on page $6$ here. The article, by Keith Conrad, is a wonderful article on solutions to certain Mordell's equation and is worth reading.