Consider $S_{n} = 11...11$ where $1$ is listed $n$ times. Prove that $a$ divides $S_n$ for infinitely many values of $n$.
Also consider $S_{n} = {10^{n} - 1 \over 9}$
Examples:
$S_{2} = 11, S_{3} = 111, S_{4} = 1111, S_{5} = 11111, ... etc.$
Please advise on my proof so far:
given $gcd(a,10) = 1 \implies gcd(9a, 10) = 1$
WTS: $S_{n} = {10^{n} - 1 \over 9} \equiv 0 \pmod a$ is infinite.
$10^{n} - 1 \equiv 0 \pmod {9a}$
I do not know where to go from here.
Hint:
Use Little Fermat's theorem in $\Bbb Z_a$; if $3\not\mid a$, you should have it. If $3\mid a$ consider the number $S_{9n}$.