Kindly help me to solve the following diophantine equation.
The equation is given by $x^2-4y=m^2$ where $m\in \mathbb Z$ is given. How to solve this equation in integers?
I have read Pell's equation but not sure how to solve this equation . Please show me the path