For this equation I know the first step is to write $x^2-x=0 \pmod{ 111 5111}$ and then we know that we can write $111 5111=1051 \cdot 1061$ (product of prime numbers) so we have to solve the following:
Find $x\:$ s.t.
$1051 | x(x-1)$ ^ $1061 | x(x-1)$
What is the fastest way to solve this last step without a calculator?