# 2013 AMC 12A Problems/Problem 22

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Working backwards, we can multiply 5-digit palindromes $ABCBA$ by $11$, giving a 6-digit palindrome: $A (A+B) (B+C) (B+C) (A+B) A$

Note that if $A + B > 10$ or $B + C > 10$, then the symmetry will be broken by carried 1s

Simply count the combinations of $(A, B, C)$ for which $A + B < 10$ and $B + C < 10$ $A = 1$ implies $9$ possible $B$ (0 through 8), for each of which there are $10, 9, 8, 7, 6, 5, 4, 3, 2$ possible C, respectively. There are $54$ valid palindromes when $A = 1$ $A = 2$ implies $8$ possible $B$ (0 through 7), for each of which there are $10, 9, 8, 7, 6, 5, 4, 3$ possible C, respectively. There are $52$ valid palindromes when $A = 2$

Following this pattern, the total is $54 + 52 + 49 + 45 + 40 + 34 + 27 + 19 + 10 = 330$

6-digit palindromes are of the form $XYZZYX$, and the first digit cannot be a zero, so there are $9 * 10 * 10 = 900$ combinations of $(X, Y, Z)$

So, the probability is $\frac{330}{900} = \frac{11}{30}$