2017 AMC 8 Problems/Problem 19: Difference between revisions
| (38 intermediate revisions by 20 users not shown) | |||
| Line 1: | Line 1: | ||
==Problem== | ==Problem== | ||
For any positive integer <math>M</math>, the notation <math>M!</math> denotes the product of the integers <math>1</math> through <math>M</math>. What is the largest integer <math>n</math> for which <math>5^n</math> is a factor of the sum <math>98!+99!+100!</math> ? | For any positive integer <math>M</math>, the notation <math>M!</math> denotes the product of the integers <math>1</math> through | ||
<math>M</math>. What is the largest integer <math>n</math> for which <math>5^n</math> is a factor of the sum <math>98!+99!+100!</math> ? | |||
<math>\textbf{(A) }23\qquad\textbf{(B) }24\qquad\textbf{(C) }25\qquad\textbf{(D) }26\qquad\textbf{(E) }27</math> | <math>\textbf{(A) }23 \qquad \textbf{(B) }24 \qquad \textbf{(C) }25 \qquad \textbf{(D) }26 \qquad \textbf{(E) }27</math> | ||
==Solution 1== | ==Solution 1== | ||
Factoring out <math>98!+99!+100!</math>, we have <math>98!(1+99+99*100)</math> which is <math>98!(10000)</math> Next, <math>98!</math> has <math>\left\lfloor\frac{98}{5}\right\rfloor + \left\lfloor\frac{98}{25}\right\rfloor = 19 + 3 = 22</math> factors of <math>5</math>. The <math>19</math> is because of all the multiples of <math>5</math>. Now <math>10,000</math> has <math>4</math> factors of <math>5</math>, so there are a total of <math>22 + 4 = \boxed{\textbf{(D)}\ 26}</math> factors of <math>5</math>. | Factoring out <math>98!+99!+100!</math>, we have <math>98! (1+99+99*100)</math>, which is <math>98! (10000)</math>. Next, <math>98!</math> has <math>\left\lfloor\frac{98}{5}\right\rfloor + \left\lfloor\frac{98}{25}\right\rfloor = 19 + 3 = 22</math> factors of <math>5</math>. The <math>19</math> is because of all the multiples of <math>5</math>.The <math>3</math> is because of all the multiples of <math>25</math>. Now, <math>10,000</math> has <math>4</math> factors of <math>5</math>, so there are a total of <math>22 + 4 = \boxed{\textbf{(D)}\ 26}</math> factors of <math>5</math>. | ||
~CHECKMATE2021 | |||
Note: Do you know what formula this uses? Most AMC 8 test takers won't know it. | |||
It's [[Legendre's Formula]]. | |||
~ | ==Video Solution (Omega Learn)== | ||
https://www.youtube.com/watch?v=HISL2-N5NVg&t=817s | |||
~ GeometryMystery | |||
==See Also== | ==See Also== | ||
| Line 19: | Line 22: | ||
{{MAA Notice}} | {{MAA Notice}} | ||
[[Category:Introductory Number Theory Problems]] | |||
Latest revision as of 15:45, 8 June 2025
Problem
For any positive integer
, the notation
denotes the product of the integers
through
. What is the largest integer
for which
is a factor of the sum
?
Solution 1
Factoring out
, we have
, which is
. Next,
has
factors of
. The
is because of all the multiples of
.The
is because of all the multiples of
. Now,
has
factors of
, so there are a total of
factors of
.
~CHECKMATE2021
Note: Do you know what formula this uses? Most AMC 8 test takers won't know it. It's Legendre's Formula.
Video Solution (Omega Learn)
https://www.youtube.com/watch?v=HISL2-N5NVg&t=817s
~ GeometryMystery
See Also
| 2017 AMC 8 (Problems • Answer Key • Resources) | ||
| Preceded by Problem 18 |
Followed by Problem 20 | |
| 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 AJHSME/AMC 8 Problems and Solutions | ||
These problems are copyrighted © by the Mathematical Association of America, as part of the American Mathematics Competitions. Error creating thumbnail: Unable to save thumbnail to destination