Skip to main content
OlympiadHQ

Browse · harp

Print

smc

number theory senior

Problem

A five-digit palindrome is a positive integer with respective digits , where is non-zero. Let be the sum of all five-digit palindromes. What is the sum of the digits of ?
(A)
(B)
(C)
(D)
Solution
For each digit there are (ways of choosing and ) palindromes. So the s contribute to the sum. For each digit there are (since ) palindromes. So the s contribute to the sum. Similarly, for each there are palindromes, so the contributes to the sum. It just so happens that so the sum of the digits of the sum is .
Final answer
B