Difference between revisions of "2015 AMC 10B Problems/Problem 23"
m (→Solution 2) |
m (Formatted headers) |
||
Line 4: | Line 4: | ||
<math> \textbf{(A) }7\qquad\textbf{(B) }8\qquad\textbf{(C) }9\qquad\textbf{(D) }10\qquad\textbf{(E) }11 </math> | <math> \textbf{(A) }7\qquad\textbf{(B) }8\qquad\textbf{(C) }9\qquad\textbf{(D) }10\qquad\textbf{(E) }11 </math> | ||
− | + | ==Solution 1== | |
− | |||
− | |||
A trailing zero requires a factor of two and a factor of five. Since factors of two occur more often than factors of five, we can focus on the factors of five. We make a chart of how many trailing zeros factorials have: | A trailing zero requires a factor of two and a factor of five. Since factors of two occur more often than factors of five, we can focus on the factors of five. We make a chart of how many trailing zeros factorials have: | ||
Line 18: | Line 16: | ||
Secondly, we look at the case when <math>n!</math> has <math>2</math> zeros and <math>(2n)!</math> has <math>6</math> zeros. If <math>n=10,11,12</math>, <math>(2n)!</math> has only <math>4</math> zeros. But for <math>n=13,14</math>, <math>(2n)!</math> has <math>6</math> zeros. Thus, the smallest four values of <math>n</math> that work are <math>n=8,9,13,14</math>, which sum to <math>44</math>. The sum of the digits of <math>44</math> is <math>\boxed{\mathbf{(B)\ }8}</math> | Secondly, we look at the case when <math>n!</math> has <math>2</math> zeros and <math>(2n)!</math> has <math>6</math> zeros. If <math>n=10,11,12</math>, <math>(2n)!</math> has only <math>4</math> zeros. But for <math>n=13,14</math>, <math>(2n)!</math> has <math>6</math> zeros. Thus, the smallest four values of <math>n</math> that work are <math>n=8,9,13,14</math>, which sum to <math>44</math>. The sum of the digits of <math>44</math> is <math>\boxed{\mathbf{(B)\ }8}</math> | ||
− | + | ==Solution 2== | |
By Legendre's Formula and the information given, we have that <math>3\left(\left\lfloor{\frac{n}{5}}\right\rfloor+\left\lfloor{\frac{n}{25}}\right\rfloor\right)=\left\lfloor{\frac{2n}{5}}\right\rfloor+\left\lfloor{\frac{2n}{25}}\right\rfloor</math>. | By Legendre's Formula and the information given, we have that <math>3\left(\left\lfloor{\frac{n}{5}}\right\rfloor+\left\lfloor{\frac{n}{25}}\right\rfloor\right)=\left\lfloor{\frac{2n}{5}}\right\rfloor+\left\lfloor{\frac{2n}{25}}\right\rfloor</math>. | ||
Line 32: | Line 30: | ||
<math>8+9+13+14=17+27=44\implies 4+4=8\implies\boxed{B}</math>. | <math>8+9+13+14=17+27=44\implies 4+4=8\implies\boxed{B}</math>. | ||
− | + | ==Solution 3 (Bashing)== | |
We notice that for a <math>0</math> to be at the end of a factorial, one multiple of five must be there. Therefore, it is intuitive to start at <math>5</math> and work up. If you bash enough you get <math>8</math>, <math>9</math>, <math>13</math>, and <math>14</math>. Going any higher will give too many zeros, and then we can stop going higher. <math>8+9+13+14=17+27=44\implies 4+4=8\implies\boxed{\textbf{(B) }8}</math>. | We notice that for a <math>0</math> to be at the end of a factorial, one multiple of five must be there. Therefore, it is intuitive to start at <math>5</math> and work up. If you bash enough you get <math>8</math>, <math>9</math>, <math>13</math>, and <math>14</math>. Going any higher will give too many zeros, and then we can stop going higher. <math>8+9+13+14=17+27=44\implies 4+4=8\implies\boxed{\textbf{(B) }8}</math>. | ||
− | + | == Solution 4 == | |
Let <math>n=5m+k</math> for some natural numbers <math>m</math>, <math>k</math> such that <math>k\in\{0,1,2,3,4\}</math>. Notice that <math>n<5^3=125</math>. Thus | Let <math>n=5m+k</math> for some natural numbers <math>m</math>, <math>k</math> such that <math>k\in\{0,1,2,3,4\}</math>. Notice that <math>n<5^3=125</math>. Thus |
Revision as of 17:14, 13 July 2020
Problem
Let be a positive integer greater than 4 such that the decimal representation of ends in zeros and the decimal representation of ends in zeros. Let denote the sum of the four least possible values of . What is the sum of the digits of ?
Solution 1
A trailing zero requires a factor of two and a factor of five. Since factors of two occur more often than factors of five, we can focus on the factors of five. We make a chart of how many trailing zeros factorials have:
We first look at the case when has zero and has zeros. If , has only zeros. But for , has zeros. Thus, and work.
Secondly, we look at the case when has zeros and has zeros. If , has only zeros. But for , has zeros. Thus, the smallest four values of that work are , which sum to . The sum of the digits of is
Solution 2
By Legendre's Formula and the information given, we have that .
We have as there is no way that if , would have times as many zeroes as .
First, let's plug in the number We get that , which is obviously not true. Hence,
After several attempts, we realize that the RHS needs to more "extra" zeroes than the LHS. Hence, is greater than a multiple of .
We find that the least are .
.
Solution 3 (Bashing)
We notice that for a to be at the end of a factorial, one multiple of five must be there. Therefore, it is intuitive to start at and work up. If you bash enough you get , , , and . Going any higher will give too many zeros, and then we can stop going higher. .
Solution 4
Let for some natural numbers , such that . Notice that . Thus For smaller , we temporarily let To minimize , we let , then Since , , the only integral value of is , from which we have .
Now we let and , then Since , .
If , then which is a contradiction.
Thus
Finally, the sum of the four smallest possible and .
~ Nafer
See Also
2015 AMC 10B (Problems • Answer Key • Resources) | ||
Preceded by Problem 22 |
Followed by Problem 24 | |
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.