A palindrome is a number that reads the same forward and backward. For example. 2442 and 111 are palindromes. If 5-digit palindromes are formed using one or more of the digits, 1, 2, 3, how many such palindromes are possible?	Answers.
A) 12 B) 15 C) 18 D) 24 E) 27
XYZYX   X can be 1, 2, or 3, thus 3 options.   Y can be 1, 2, or 3, thus 3 options.   Z can be 1, 2, or 3, thus 3 options.   Total 3^3=27.   Answer: 27.
<result>E</result>
A palindrome is a number that reads the same forward and backward. For example. 2442 and 111 are palindromes. If 5-digit palindromes are formed using one or more of the digits, 1, 2, 3, how many such palindromes are possible?