Let $N$ be a composite integer, and suppose we are given a randomly generated solution $(x, y)$ of the equation $x^2 + y^2 \equiv 0 \pmod{N}$. By randomly generated, I mean that $(x, y)$ is selected uniformly at random from the set of all possible solutions. Can we use $(x, y)$ to find a nontrivial divisor of $N$ with high probability?
Note that it is trivial to use a randomly generated solution of the equation $x^2 - y^2 \equiv 0 \pmod{N}$ to factor $N$, since then $(x-y)(x+y) \equiv 0 \pmod{N}$ and there is a 50% probability that the pair $x-y, x+y$ splits $N$.
It is also worth mentioning that only some choices of $N$ admit nontrivial solutions to the equation $x^2 + y^2 \equiv 0 \pmod{N}$; it is precisely those $N$ with the property that every prime $p$ such that $p \equiv 3 \pmod{4}$ appears in the factorization of $N$ with even multiplicity, as shown by Fermat.