The number 385 is an example of a three-digit number for which
one of the digits is the sum of the other two digits. How many numbers
between 100 and 999 have this property?
CEMC Gauss (Grade 8), 2022
Pick one
Solution
A palindrome greater than 10 000 and less than 100 000 is a
5-digit positive integer of the form , where and are digits and .
A positive integer is a multiple of 18 if it is a multiple of both 2 and
9 (and a positive integer that is a multiple of both 2 and 9 is a
multiple of 18).
A positive integer is a multiple of 2 if it is even, and thus the digit
is equal to or 8 (recall ).
A positive integer is a multiple of 9 exactly when the sum of its digits
is a multiple of 9, and thus or is a multiple of 9.
Next we consider four possible cases, one case for each of the possible
values of .
Case 1:
When , we require that be a multiple of 9.
Since , then the
smallest possible multiple of 9 that can equal is 9.
Since and , then is at most .
Thus, can equal or 27, which gives equal to or 23 respectively.
Next, we determine the possible values of and so that is equal to or 23.
Thus when , there are such palindromes.
Case 2:
When , we require that be a multiple of 9.
Since , then the
smallest possible multiple of 9 that can equal is 9.
Since and , then is at most .
Thus, can equal or 27, which gives equal to or 19 respectively.
Next, we determine the possible values of and so that is equal to or 19.
Thus when , there are such palindromes.
Case 3:
When , we require that be a multiple of 9.
Since and , then can equal 18, 27 or 36, which
gives equal to 6, 15 or 24,
respectively.
Thus when , there are such palindromes.
Case 4:
When , we require that be a multiple of 9.
Since and , then can equal 18, 27 or 36, which
gives equal to 2, 11 or 20,
respectively.
Thus when , there are such palindromes.
Therefore, the number of palindromes that are greater than 10 000 and
less than 100 000 and that are multiples of 18 is .