Problem 680: (2017 AIME I, 9)
Let $a_{10} = 10$, and for each positive integer $n >10$ let $a_n = 100a_{n - 1} + n$. Find the least positive $n > 10$ such that $a_n$ is a multiple of $99$.
- Since $100\equiv1\pmod{99}$, $a_n\equiv a_{n-1}+n$, so $a_n\equiv10+11+\cdots+n=\frac{n(n+1)}2-45$.
- We need $n(n+1)-90=(n+10)(n-9)\equiv0\pmod{198}$; it is always even, so we need $99\mid(n+10)(n-9)$. The factors differ by $19$, so $3$ cannot divide both: $9\mid n+10$ or $9\mid n-9$, i.e.\ $n\equiv8$ or $0\pmod9$; and $n\equiv1$ or $9\pmod{11}$.
- The smallest $n>10$, $n\equiv0\pmod9$, $n\equiv1\pmod{11}$ gives $45$; the other combinations give $89$, $108$, $\dots$
- The answer is $\boxed{045}$.
Let $a_{10} = 10$, and for each positive integer $n >10$ let $a_n = 100a_{n - 1} + n$. Find the least positive $n > 10$ such that $a_n$ is a multiple of $101$.