Find the general solutions of $x^2+qy^2-z^2=4n$

69 Views Asked by At

I have this diophantine equation and i need the general solution form for it

the equation

$$x^2+qy^2-z^2=4n$$

some conditions $y\le 0,x\ge 0,z\ge 0$ x,z are even or odd together

$n=5y+x-3xy$