Difference between revisions of "2021 AMC 10B Problems/Problem 16"
Line 1: | Line 1: | ||
− | ==Problem==Call a positive integer an uphill integer if every digit is strictly greater than the previous digit. For example, <math>1357, 89,</math> and <math>5</math> are all uphill integers, but <math>32, 1240,</math> and <math>466</math> are not. How many uphill integers are divisible by <math>15</math>? | + | ==Problem== |
+ | |||
+ | Call a positive integer an uphill integer if every digit is strictly greater than the previous digit. For example, <math>1357, 89,</math> and <math>5</math> are all uphill integers, but <math>32, 1240,</math> and <math>466</math> are not. How many uphill integers are divisible by <math>15</math>? | ||
<math>\textbf{(A)} ~4 \qquad\textbf{(B)} ~5 \qquad\textbf{(C)} ~6 \qquad\textbf{(D)} ~7 \qquad\textbf{(E)} ~8</math> | <math>\textbf{(A)} ~4 \qquad\textbf{(B)} ~5 \qquad\textbf{(C)} ~6 \qquad\textbf{(D)} ~7 \qquad\textbf{(E)} ~8</math> |
Revision as of 01:48, 12 February 2021
Problem
Call a positive integer an uphill integer if every digit is strictly greater than the previous digit. For example, and are all uphill integers, but and are not. How many uphill integers are divisible by ?
Solution 1
The divisibility rule of is that the number must be congruent to mod and congruent to mod . Being divisible by means that it must end with a or a . We can rule out the case when the number ends with a immediately because the only integer that is uphill and ends with a is which is not positive. So now we know that the number ends with a . Looking at the answer choices, the answer choices are all pretty small, so we can generate all of the numbers that are uphill and are divisible by . These numbers are which are numbers C.
Solution 2
First, note how the number must end in either or in order to satisfying being divisible by . However, the number can't end in because it's not strictly greater than the previous digits. Thus, our number must end in . We do casework on the number of digits. Case digit. No numbers work, so Case digits. We have the numbers and , but isn't an uphill number, so numbers. Case digits. We have the numbers . So numbers. Case digits. We have the numbers and , but only satisfies this condition, so number. Case digits. We have only , so number. Adding these up, we have .
~JustinLee2017
2021 AMC 10B (Problems • Answer Key • Resources) | ||
Preceded by Problem 15 |
Followed by Problem 17 | |
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 10 Problems and Solutions |