Problem 555: (2021 AIME II, 1)
Find the arithmetic mean of all the three-digit palindromes. (Recall that a palindrome is a number that reads the same forward and backward, such as $777$ or $383$.)
- The palindromes are $\overline{aba}=101a+10b$ with $a\in\{1,\dots,9\}$ and $b\in\{0,\dots,9\}$, all $90$ pairs occurring once.
- Since $a$ and $b$ vary independently, the mean is $101\cdot\overline a+10\cdot\overline b=101\cdot5+10\cdot4.5=550$.
- The answer is $\boxed{550}$.
Find the arithmetic mean of all the three-digit palindromes whose middle digit is even. (Recall that a palindrome is a number that reads the same forward and backward, such as $777$ or $383$.)