Solve this non-linear diophantine equation?

168 Views Asked by At

How do you go about systematically solving a Diophantine equation of this form :

$217x^2 + 496y^2 = 15872$ ?

I found that $\gcd(217, 496) = 31$ and reduced that equation to

$7x^2 + 16y^2 = 512$

but then I got stuck there. I want to solve this using the modular arithmetic method, so a solution that takes such an approach will be highly appreciated.

Thanks in advance!

2

There are 2 best solutions below

2
On

Since $512=7\times 73+1$, we have$$2y^2\equiv 1\pmod 7\Rightarrow y\equiv 2,5\pmod 7.$$

Also, we have $$512-16y^2=7x^2\ge0\Rightarrow y^2\le 32\Rightarrow |y|\le 5.$$

These imply that $y=\pm2,\pm 5.$ Hence, the answer is the followings (any double sign) : $$(x,y)=(\pm8,\pm2),(\pm4,\pm 5).$$

3
On

Since $7x^2=512-16y^2$ RHS is divisible by $16$ so is the LHS so we have that $x=4k$ for some $k\in\mathbb{N}$. $$16(7k^2+y^2)=512\\7k^2+y^2=32$$ Now clearly $k\leq2$ so plugging in $k=2$ gives $y^2=4$,plugging in $k=1$ we have that $y^2=25$ and plugging in $k=0$ doesn't give a rational solution $x=4k$ so $(x,y)=(\pm4,\pm5),(\pm8,\pm2)$