But I've failed to solve for $k=24$ .
Boro Vaiz , Please check my solution
can you really conclude that?Nadim Ul Abrar wrote:$y^2=x^3+24$
or $x^3=(y+2 \sqrt6)(y-2 \sqrt6)$
Your method fails because $\mathbb Z[\sqrt 6]$ is not a Unique Factorisation Domain. As an example, we have $-2=(2+\sqrt 6)(2-\sqrt 6)$ and it can be shown that $-2$ and $2\pm\sqrt 6$ are irreducibles.Nadim Ul Abrar wrote:Using this method I became able to solve the equation for many ($<10$ :S) values of $k$ .
But I've failed to solve for $k=24$ .
Boro Vaiz , Please check my solution