Is there a method that can solve all quadratic diophantine equations of the following type
$$X (X + a) = Y (Y + b)$$
where $a,b$ are given integers?
Is there a method that can solve all quadratic diophantine equations of the following type
$$X (X + a) = Y (Y + b)$$
where $a,b$ are given integers?
$X (X + a) = Y (Y + b) \implies (2 X + a)^2 - (2 Y + b)^2 = a^2 - b^2$
Get finite set solutions of difference of squares $x^2 - y^2 = a^2 - b^2$ and check $X=\frac{x-a}{2}$ and $Y=\frac{y-b}{2}$ as integers.