Let $x,y,a,b,m$ be non-zero integers where $m$ is square free. I am trying to find all the integer solutions of $$x^2-y^2=a^2+mb^2$$ I tried to factorize both sides but the righthand side equation is not too friendly. Any hints?
2026-04-25 04:25:58.1777091158
Find all the integer solutions of $x^2-y^2=a^2+mb^2$
156 Views Asked by user97615 https://math.techqa.club/user/user97615/detail At
1
$$a^2+mb^2=(zc+mvq)^2+m(zq-vc)^2=(z^2+mv^2)(c^2+mq^2)=(x-y)(x+y)$$
$$x=\frac{1}{2}(c^2+z^2+m(q^2+v^2))$$
$$y=\frac{1}{2}(c^2-z^2+m(q^2-v^2))$$