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?
, 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.
$b=2,
c=1$
$b=7,
c=0$
$b=9,
c=5$
$b=1,
c=3$
$b=6,
c=2$
$b=8,
c=7$
$b=0,
c=5$
$b=5,
c=4$
$b=7,
c=9$
$b=4,
c=6$
$b=3,
c=8$
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.
$b=0,
c=1$
$b=5,
c=0$
$b=9,
c=1$
$b=4,
c=2$
$b=8,
c=3$
$b=3,
c=4$
$b=7,
c=5$
$b=2,
c=6$
$b=6,
c=7$
$b=1,
c=8$
$b=5,
c=9$
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.
$b=3,
c=0$
$b=7,
c=1$
$b=9,
c=6$
$b=2,
c=2$
$b=6,
c=3$
$b=8,
c=8$
$b=1,
c=4$
$b=5,
c=5$
$b=0,
c=6$
$b=4,
c=7$
$b=3,
c=9$
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.
$b=1,
c=0$
$b=5,
c=1$
$b=9,
c=2$
$b=0,
c=2$
$b=4,
c=3$
$b=8,
c=4$
$b=3,
c=5$
$b=7,
c=6$
$b=2,
c=7$
$b=6,
c=8$
$b=1,
c=9$
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 .