Is there a way to obtain (enumerate) the integer solutions $(x,y,z)$ of the following quadratic Diophantine equation
$z^2=a^2+bx^2+cy^2$
where $a$ is an integer and $b, c$ are positive integers? I have checked the literature on Diophantine equations but could not find anything useful. Any help or suggestions would be greatly appreciated.
I think you can at first solve the well known equation $w^{2} + a^{2} = z^{2}$ for convenient values of a and go after to the equation $w^2 = bx^2 + cy^2$ which is solved in the book of L. J. Mordell “Diophantine Equations” (Academic Press. London and New York, 1969 page 44).