Let A(n) be a repdigit containing n copies of 9. E.g. A(2) = 99.
Prove that n must be even for A(2) to divide A(n).
As such, if Bn is n copies of x. For what values of n will B(2) divide B(n)?
I have solved the problem by showing that 11|A(n) for even n (and clearly 9|A(n) for all n). However, I would like an alternative solution, as well as to generalise the solution for other repdigits.