Discrete Mathematics
# Rule of Sum and Rule of Product

How many 3-digit palindromes are there? (Note: The first digit of a 3-digit number must be nonzero.)

How many 3-digit palindromes are there where the middle digit is the same as the leading digit?