Suppose and are the last three digits of the
six-digit integer . If
is divisible by , how many possibilities are there for
?
Problem 650
Pick one
Official solution
Solution 1:
We are being asked to find the number of multiples of between and inclusive.
Since and
, then the
smallest multiple of greater
than or equal to is . (We can find the numbers and by dividing by and rounding the result both down and
up to the nearest integer.)
Since and
, then the
largest multiple of less than or
equal to is . (We can similarly find the
numbers and by dividing by and rounding the result both down and
up to the nearest integer.)
All multiples of from to inclusive satisfy the given
conditions, and so there are different possibilities
for .
Solution 2:
Since is divisible by
, then is divisible by both and since and have no factors in common and .
Since is divisible by , then is even and so its units digit, , must equal , , , , or .
An integer is divisible by
exactly when the sum of its digits is divisible by .
Thus, the sum of the digits of ,
which is equal to , must be a multiple
of .
The smallest possible value of is (when ) and its largest possible value
is (when ).
The multiples of in this range
are , and , and so or or .
To summarize to this point, is divisible by exactly when is equal to , , , , or , and or or .
We proceed by setting equal to
each of the possible even digits and determining the number of possible
values for and .
When , we get or or .
When , the possible values for
the digits and (written as ordered pairs ) are , , , , , , and . (Alternately, when , can equal any integer from to inclusive and then .)
Thus, there are ordered pairs of
digits when and , and so there are possible values of .
When , the possible pairs of
digits are , , , and , and so there are possible values of .
When , there are no possible
pairs of digits since is at most .
When , we get or or .
We continue to count the number of pairs of digits given each of the possible values
of and summarize those results in
the tables below.
Number of values of
Number of pairs
Number of values of
Number of pairs
Number of values of
Number of pairs
Number of values of
Number of pairs
Number of values of
Number of pairs
Therefore, the number of possibilities for is .