Given $m=p^{a}q^{b}$, $m>1$, $p\neq q$, primes $\equiv 1$ mod 4, and $a,b\in\mathbb{N}$, then there is $u\in\mathbb{Z}$ with $u^{2}\equiv -1$ mod $m$. Hence $(1,u)$ is a solution to (*), and also $(x,ux)$ for each $x\in\mathbb{Z}$. Now the converse: Let $(x,y)\not\equiv(0,0)$ be any solution to $(*)$. If $gcd(x,y)=1$, then $gcd(x,m)=gcd(y,m)=1$ and $x^{-1}$ mod m exists. Putting $u=yx^{-1}$ mod m we have $u^{2}\equiv -1$ mod $m$. \ There is a strong guess, that this also holds for each non trivial solution $(x,y)$ to $(*)$ with $gcd(x,m)>1$. Proof?
2026-05-06 02:23:42.1778034222
Wanted: Parametric Solution to the Diophantine Equation $x^2+y^2\equiv 0$ mod $m$ (*)
68 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
COMMENT.-Because $p$ and $q$ are primes $\equiv 1\pmod4$ and since the set of sums of two squares is closed by multiplication you do have finally the equation $$x^2+y^2=t(X^2+Y^2)$$. Consequently if you take the parameter $t\in\{\text{sums of two squares } r^2+s^2\}$ you get at the end the equation $$x^2+y^2=R^2+S^2$$ and you can do $$(x,y)=(R,S)$$ (Use the formula $(r^2+s^2)(X^2+Y^2)=(rX+sY)^2+(rY-sX)^2$)