Difference between revisions of "2021 AMC 10B Problems/Problem 16"
MRENTHUSIASM (talk | contribs) m (→Solution 4.1 (Casework on the Number of Digits Deleted): Deleted Case (5) to be more concise.) |
Alexyuan2017 (talk | contribs) m (→Solution 4) |
||
(14 intermediate revisions by 4 users not shown) | |||
Line 6: | Line 6: | ||
==Solution 1== | ==Solution 1== | ||
− | The divisibility rule of <math>15</math> is that the number must be congruent to <math>0</math> mod <math>3</math> and congruent to <math>0</math> mod <math>5</math>. Being divisible by <math>5</math> means that it must end with a <math>5</math> or a <math>0</math>. We can rule out the case when the number ends with a <math>0</math> immediately because the only integer that is uphill and ends with a <math>0</math> is <math>0</math> which is not positive. So now we know that the number ends with a <math>5</math>. 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 <math>3</math>. These numbers are <math>15, 45, 135, 345, 1245, 12345</math> | + | The divisibility rule of <math>15</math> is that the number must be congruent to <math>0</math> mod <math>3</math> and congruent to <math>0</math> mod <math>5</math>. Being divisible by <math>5</math> means that it must end with a <math>5</math> or a <math>0</math>. We can rule out the case when the number ends with a <math>0</math> immediately because the only integer that is uphill and ends with a <math>0</math> is <math>0</math> which is not positive. So now we know that the number ends with a <math>5</math>. 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 <math>3</math>. These numbers are <math>15, 45, 135, 345, 1245, 12345</math>, or <math>\boxed{\textbf{(C)} ~6}</math> numbers. |
+ | |||
+ | ~ilikemath40 | ||
==Solution 2== | ==Solution 2== | ||
− | First, note how the number must end in either <math>5</math> or <math>0</math> in order to satisfying being divisible by <math>15</math>. However, the number can't end in <math>0</math> because it's not strictly greater than the previous digits. Thus, our number must end in <math>5</math>. We do casework on the number of digits. | + | First, note how the number must end in either <math>5</math> or <math>0</math> in order to satisfying being divisible by <math>15</math>. However, the number can't end in <math>0</math> because it's not strictly greater than the previous digits. Thus, our number must end in <math>5</math>. We do casework on the number of digits. |
− | + | <b>Case 1:</b> <math>1</math> digit. No numbers work, so <math>0</math> numbers. | |
− | + | <b>Case 2:</b> <math>2</math> digits. We have the numbers <math>15, 45,</math> and <math>75</math>, but <math>75</math> isn't an uphill number, so <math>2</math> numbers | |
− | + | <b>Case 3:</b> <math>3</math> digits. We have the numbers <math>135, 345</math>, so <math>2</math> numbers. | |
− | + | <b>Case 4:</b> <math>4</math> digits. We have the numbers <math>1235, 1245</math> and <math>2345</math>, but only <math>1245</math> satisfies this condition, so <math>1</math> number. | |
− | + | <b>Case 5:</b> <math>5</math> digits. We have only <math>12345</math>, so <math>1</math> number. | |
− | Adding these up, we have <math>2+2+1+1 = | + | Adding these up, we have <math>2+2+1+1=\boxed{\textbf{(C)} ~6}</math>. |
~JustinLee2017 | ~JustinLee2017 | ||
Line 44: | Line 46: | ||
There is only one number, <math>12345.</math> | There is only one number, <math>12345.</math> | ||
− | We can see that we have exhausted all cases, because in order to have a larger sum of digits, then a number greater than <math>5</math> needs to be used, breaking the conditions of the problem. The answer is <math>\textbf{(C)}.</math> | + | We can see that we have exhausted all cases, because in order to have a larger sum of digits, then a number greater than <math>5</math> needs to be used, breaking the conditions of the problem. The answer is <math>\boxed{\textbf{(C)} ~6}.</math> |
~coolmath34 | ~coolmath34 | ||
− | ==Solution 4 | + | ==Solution 4== |
− | + | An integer is divisible by <math>15</math> if it is divisible by <math>3</math> and <math>5</math>. Divisibility by <math>5</math> means ending in <math>0</math> or <math>5</math>, but since no digit is less than <math>0</math>, the only uphill integer ending in <math>0</math> could be <math>0</math>, which is not positive. This means the integer must end in <math>5</math>. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | < | + | All uphill integers ending in <math>5</math> are formed by picking any subset of the sequence <math>(1,2,3,4)</math> of digits (keeping their order), then appending a <math>5</math>. Divisibility by <math>3</math> means the sum of the digits is a multiple of <math>3</math>, so our choice of digits must add to <math>0</math> modulo <math>3</math>. |
− | + | <math>5 \equiv -1 \pmod{3}</math>, so the other digits we pick must add to <math>1</math> modulo <math>3</math>. Since <math>(1,2,3,4) \equiv (1,-1,0,1) \pmod{3}</math>, we can pick either nothing, or one residue <math>1</math> (from <math>1</math> or <math>4</math>) and one residue <math>-1</math> (from <math>2</math>), and we can then optionally add a residue <math>0</math> (from <math>3</math>). This gives <math>(1+2\cdot1)\cdot2 = \boxed{\textbf{(C)}~6}</math> possibilities. | |
− | + | ~[[User:emerald_block|emerald_block]] | |
− | + | ==Video Solution (🚀Solved in 3 minutes and 2 seconds🚀) == | |
+ | https://youtu.be/c54455_3Xcc | ||
− | + | <i> Education, the Study of Everything </i> | |
== Video Solution by OmegaLearn (Using Divisibility Rules and Casework) == | == Video Solution by OmegaLearn (Using Divisibility Rules and Casework) == |
Latest revision as of 19:07, 11 November 2023
Contents
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
, or
numbers.
~ilikemath40
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 1: digit. No numbers work, so
numbers.
Case 2: digits. We have the numbers
and
, but
isn't an uphill number, so
numbers
Case 3: digits. We have the numbers
, so
numbers.
Case 4: digits. We have the numbers
and
, but only
satisfies this condition, so
number.
Case 5: digits. We have only
, so
number.
Adding these up, we have .
~JustinLee2017
Solution 3
Like solution 2, we can proceed by using casework. A number is divisible by if is divisible by
and
In this case, the units digit must be
otherwise no number can be formed.
Case 1: sum of digits = 6
There is only one number,
Case 2: sum of digits = 9
There are two numbers: and
Case 3: sum of digits = 12
There are two numbers: and
Case 4: sum of digits = 15
There is only one number,
We can see that we have exhausted all cases, because in order to have a larger sum of digits, then a number greater than needs to be used, breaking the conditions of the problem. The answer is
~coolmath34
Solution 4
An integer is divisible by if it is divisible by
and
. Divisibility by
means ending in
or
, but since no digit is less than
, the only uphill integer ending in
could be
, which is not positive. This means the integer must end in
.
All uphill integers ending in are formed by picking any subset of the sequence
of digits (keeping their order), then appending a
. Divisibility by
means the sum of the digits is a multiple of
, so our choice of digits must add to
modulo
.
, so the other digits we pick must add to
modulo
. Since
, we can pick either nothing, or one residue
(from
or
) and one residue
(from
), and we can then optionally add a residue
(from
). This gives
possibilities.
Video Solution (🚀Solved in 3 minutes and 2 seconds🚀)
Education, the Study of Everything
Video Solution by OmegaLearn (Using Divisibility Rules and Casework)
~ pi_is_3.14
Video Solution by TheBeautyofMath
~IceMatrix
Video Solution by Interstigation
~Interstigation
See Also
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 |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.