How many positive integers $n$ satisfy $127 \equiv 18 \pmod{n}$? ($n = 1$ is allowed.)
127≡18(modn)
so 109 = 0 mod n
109 is prime so the only two solutions are 1 and 109