2018 AMC 12B Problems/Problem 15
Contents
Problem
How many odd positive -digit integers are divisible by but do not contain the digit ?
Solution 1
Let be one such odd positive -digit integer with hundreds digit tens digit and ones digit Since we need by the divisibility rule for
As and there are possibilities for and possibilities for Note that each ordered pair determines the value of modulo so can be any element in one of the sets or We conclude that there are always possibilities for
By the Multiplication Principle, the answer is
~Plasma_Vortex ~MRENTHUSIASM
Solution 2
Let be one such odd positive -digit integer with hundreds digit tens digit and ones digit Since we need by the divisibility rule for
As and note that:
- There are possibilities for namely
There are possibilities for namely
There are possibilities for namely
- There are possibilities for namely
There are possibilities for namely
There are possibilities for namely
- There are possibility for namely
There are possibilities for namely
There are possibility for namely
We apply casework to Together, the answer is
~MRENTHUSIASM
Solution 3
Analyze that the three-digit integers divisible by start from In the 's, it starts from In the 's, it starts from We see that the units digits is and
Write out the - and -digit multiples of starting from and Count up the ones that meet the conditions. Then, add up and multiply by since there are three sets of three from to Then, subtract the amount that started from since the 's ll contain the digit
Together, the answer is
Solution 4
Consider the number of -digit numbers that do not contain the digit which is For any of these -digit numbers, we can append or to reach a desirable -digit number. However, we have and thus we need to count any -digit number twice. There are total such numbers that have remainder but of them contain so the number we want is Therefore, the final answer is
Solution 5
We need to take care of all restrictions. Ranging from to there are odd -digit numbers. Exactly of these numbers are divisible by which is Of these numbers, have in their ones (units) digit, have in their tens digit, and have in their hundreds digit. Thus, the total number of -digit integers is
~mathpro12345
Solution 6
We will start with the numbers that could work. This numbers include _ _ , _ _ , _ _ , _ _ . Let's work case by case.
Case : _ _ : The two blanks could be any number that is mod that does not include . We have cases for this case (we could count every case).
Case : _ _ : The blanks could be any number that is mod that does not include . But we could see that this case has exactly the same solutions to case because we have a correspondence. We can do the exact same for case .
Cases : _ _ : We need the blanks to be a multiple of , but does not contain 3. We have which also contains numbers. Therefore, we have which is equal to
~Arcticturn
Solution 7
This problem is solvable by inclusion exclusion principle. There are odd -digit numbers divisible by . We consider the number of -digit numbers divisible by that contain either or digits of .
For , is any -digit number divisible by , which gives us . For , for each odd , we have values of that give a valid case, thus we have cases. For , we also have cases, but when , can equal , so we have cases.
For , we have cases. For , we have cases. For , we have cases. Finally, there is just one case for .
By inclusion exclusion principle, we get numbers.
~Zeric
Video Solution by Omega Learn
https://youtu.be/mgEZOXgIZXs?t=448
~ pi_is_3.14
Video Solution by WhyMath
~savannahsolver
See Also
2018 AMC 12B (Problems • Answer Key • Resources) | |
Preceded by Problem 14 |
Followed by Problem 16 |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 | |
All AMC 12 Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.