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