Show that every positive integer relatively prime to $10$ divides infinitely many repunits. (Hint: Note that the $n-$digit repunit $111\cdots1 = \dfrac{(10^{n}-1)}{9}$.)
Let $(a,10)=1$ and $n=9k{\phi(a)}$ using eulerphi function, where $k$ is positive integer.
When $(a,9)= 1 , 3$ it is okay because $81$ and $a$ divides $10^{n}-1$ by Binomial theorem and CRT.
So $a$ divides $\dfrac{(10^{n}-1)}{9}$.
But I don t know when $(a,n)=9$, Must $a$ divides $\dfrac{(10^{n}-1)}{9}$ ? I dont think so
Then how can i solve it?