Problem 654: (2010 AMC 10b, 21; 2010 AMC 12b, 11)
A palindrome between $1000$ and $10{,}000$ is chosen at random. What is the probability that it is divisible by $7$?
$\textbf{(A)}\ \dfrac{1}{10} \qquad \textbf{(B)}\ \dfrac{1}{9} \qquad \textbf{(C)}\ \dfrac{1}{7} \qquad \textbf{(D)}\ \dfrac{1}{6} \qquad \textbf{(E)}\ \dfrac{1}{5}$
- A four-digit palindrome is $\overline{abba}=1001a+110b$, with $9\cdot10=90$ choices.
- Since $1001=7\cdot143$, it is divisible by $7$ iff $7\mid110b$, i.e. $b\in\{0,7\}$.
- So the probability is $\frac{2}{10}=\frac15$.
- The answer is (E).
A palindrome between $1000$ and $10{,}000$ is chosen at random. What is the probability that it is divisible by $13$?