Difference between revisions of "2020 AMC 10A Problems/Problem 22"
(→Solution 1 (Casework)) |
(→Solution 1 (Casework)) |
||
Line 7: | Line 7: | ||
== Solution 1 (Casework) == | == Solution 1 (Casework) == | ||
+ | |||
+ | <cmath>\left\lfloor \dfrac{998}{n} \right\rfloor+\left\lfloor \dfrac{999}{n} \right\rfloor+\left\lfloor \dfrac{1000}{n}\right \rfloor</cmath> | ||
+ | |||
Let <math>a = \left\lfloor \frac{998}n \right\rfloor</math>. | Let <math>a = \left\lfloor \frac{998}n \right\rfloor</math>. | ||
− | Notice that for every integer <math>n \neq 1</math>, | + | <b>Notice that for every integer <math>n \neq 1</math>, |
− | <math>\bullet</math> if <math>\frac{998}n</math> is an integer, then the three terms in the expression must be <math>(a, a, a)</math>, | + | <math>\bullet</math> if <math>\frac{998}n</math> is an integer, then the three terms in the expression above must be <math>(a, a, a)</math>, |
− | <math>\bullet</math> if <math>\frac{999}n</math> is an integer, then the three terms in the expression must be <math>(a, a + 1, a + 1)</math>, and | + | <math>\bullet</math> if <math>\frac{999}n</math> is an integer, then the three terms in the expression above must be <math>(a, a + 1, a + 1)</math>, and |
− | <math>\bullet</math> if <math>\frac{1000}n</math> is an integer, then the three terms in the expression must be <math>(a, a, a + 1)</math>. | + | <math>\bullet</math> if <math>\frac{1000}n</math> is an integer, then the three terms in the expression above must be <math>(a, a, a + 1)</math>.</b> |
This is due to the fact that <math>998</math>, <math>999</math>, and <math>1000</math> share no common factors other than 1. | This is due to the fact that <math>998</math>, <math>999</math>, and <math>1000</math> share no common factors other than 1. | ||
− | Note that <math>n = 1</math> doesn't work; to prove this, all we just have to is substitute <math>1</math> for <math>n</math> in the expression | + | Note that <math>n = 1</math> doesn't work; to prove this, all we just have to is substitute <math>1</math> for <math>n</math> in the expression, to get |
− | |||
− | |||
− | to get | ||
<cmath>\left\lfloor \dfrac{998}{1} \right\rfloor+\left\lfloor \dfrac{999}{1} \right\rfloor+\left\lfloor \dfrac{1000}{1}\right \rfloor</cmath> | <cmath>\left\lfloor \dfrac{998}{1} \right\rfloor+\left\lfloor \dfrac{999}{1} \right\rfloor+\left\lfloor \dfrac{1000}{1}\right \rfloor</cmath> | ||
This gives us <math>\frac{998}1 + \frac{999}1 + \frac{1000}1 = 2997 = 999 \cdot 3</math> which is divisible by 3. | This gives us <math>\frac{998}1 + \frac{999}1 + \frac{1000}1 = 2997 = 999 \cdot 3</math> which is divisible by 3. | ||
− | So, there are two cases: | + | |
+ | |||
+ | The first case mentioned above does not work, as the sum becomes <math>3a</math>, which is divisible by 3. | ||
+ | So, there are two viable cases: | ||
Line 59: | Line 62: | ||
Now that we have counted all of the cases, we add them. | Now that we have counted all of the cases, we add them. | ||
− | <math>7 + 15 = 22</math>, so the answer is <math>\boxed{\textbf{(A) }22}</math>. | + | <math>7 + 15 = 22</math>, so the answer is <math>\boxed{\textbf{(A)}22}</math>. |
Revision as of 20:16, 1 February 2020
Problem
For how many positive integers isnot divisible by ? (Recall that is the greatest integer less than or equal to .)
Solution 1 (Casework)
Let .
Notice that for every integer ,
if is an integer, then the three terms in the expression above must be ,
if is an integer, then the three terms in the expression above must be , and
if is an integer, then the three terms in the expression above must be .
This is due to the fact that , , and share no common factors other than 1. Note that doesn't work; to prove this, all we just have to is substitute for in the expression, to get
This gives us which is divisible by 3.
The first case mentioned above does not work, as the sum becomes , which is divisible by 3.
So, there are two viable cases:
Case 1: divides
Because divides , the number of possibilities for is the same as the number of factors of , excluding .
=
So, the total number of factors of is .
However, we have to subtract , because the case doesn't work, as mentioned previously.
We now do the same for the second case.
Case 2: divides
=
So, the total number of factors of is .
Again, we have to subtract , for the reason mentioned above in Case 1.
Now that we have counted all of the cases, we add them.
, so the answer is .
~dragonchomper
Video Solution
~IceMatrix
See Also
2020 AMC 10A (Problems • Answer Key • Resources) | ||
Preceded by Problem 21 |
Followed by Problem 23 | |
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.