I have this congruence relation:
2013 ≡ 1012 (mod m)
I am supposed to find all m in the natural system.
I have this congruence relation:
2013 ≡ 1012 (mod m)
I am supposed to find all m in the natural system.
$2013\equiv 1012\pmod m\implies m|(2013-1012)\implies m|1001$.
Thus all factors of $1001$ satisfy this.
HINT: By definition $2013\equiv 1012\pmod m$ if and only if $m\mid 2013-1012$.
$\begin{eqnarray}{\bf Hint}\ \ \ \rm mod\ m\!:\ 2013&\equiv& 1012\\ \rm \iff m\mid 2013&-&1012 = 1001 = 10^3\!+\!1 = (10\!+\!1)(10^2\!-\!10\!+\!1) = 11\cdot 91 = 11\cdot 7\cdot 13\end{eqnarray} $