I'm trying to solve $x^2+2xy-782y=0$ diophantine equation.
With these steps:
a) $(*4)$; $4x^2+8xy-3128y=0$
b) $(+/-4y^2)$; $4x^2+8xy+4y^2-3128y-(4y^2)=0$
c) Reducing; $(2x+2y)^2+(-3128y)-(4y^2) = 0$
d) $u=2x+2y$; $u^2-4y^2-3128y=0$
e) $(*-4)$; $-4u^2+16y^2+12512y=0$
f) $(+/-1564^2)$; $-4u^2+16y^2+12512y+2446096-2446096 =0$
g) Reducing; $(-4)u^2+(4y+1564)^2-2446096=0$
h) $v=4y+1564$; $(-4)u^2+v^2-2446096=0$
And that's a Pell's equation:
$v^2-4u^2=2446096$
That I can't solve because '4' is a perfect square.
Are there other methods to solve the original equation?
Thanks
$$y=\dfrac{x^2}{2(391-x)}$$ which must be an integer
As the denominator is even, so will be the numerator
Let $x=2z$
$$\implies y=\dfrac{2z^2}{391-2z}=-z+\dfrac{391z}{391-2z}$$
If $d$ divides $391-2z,391z$
$d$ must divide $2(391z)+391(391-2z)=391^2$
Now $391=17\cdot23$
So the $391-2z$ must divide $391^2=(17\cdot23)^2$
and $391-2z$ must divide $391z$ as well
Can you take it from here?