# Factors of $$10^n-1$$

The probability that a given positive integer $$x$$ is a factor of $$10^n-1$$ for some positive integer $$n$$ is equal to $$\dfrac{A}{B},$$ where $$A$$ and $$B$$ are positive coprime integers. Find $$A+B.$$

×