Difference between revisions of "1998 AHSME Problems/Problem 30"
m (→Solution) |
|||
Line 39: | Line 39: | ||
At this point we can stop, as we just found out that <math>a_{78117}</math> is of the form <math>2^8 5^8 r_{78117}</math>. Therefore the <math>k</math> we seek is <math>k=78117</math>. | At this point we can stop, as we just found out that <math>a_{78117}</math> is of the form <math>2^8 5^8 r_{78117}</math>. Therefore the <math>k</math> we seek is <math>k=78117</math>. | ||
− | Now all we need to do is to compute the last non-zero digit. As the powers of <math>2</math> and <math> | + | Now all we need to do is to compute the last non-zero digit. As the powers of <math>2</math> and <math>5</math> that divide <math>a_{78117}</math> are equal, the last non-zero digit is simply the product of the last digits of the ten <math>z</math>s. This is <math>7\cdot 9\cdot 9\cdot 3\cdot 1\cdot 1\cdot 3\cdot 1\cdot 1\cdot 3 \equiv\boxed{9}</math>. |
== See also == | == See also == | ||
{{AHSME box|year=1998|num-b=29|after=Last Question}} | {{AHSME box|year=1998|num-b=29|after=Last Question}} | ||
{{MAA Notice}} | {{MAA Notice}} |
Latest revision as of 09:37, 11 August 2020
Problem
For each positive integer , let
Let denote the smallest positive integer for which the rightmost nonzero digit of is odd. The rightmost nonzero digit of is
Solution
We have .
The value can be written as , where is not divisible by 2 and 5. The number of trailing zeroes is . The last non-zero digit is the last digit of .
Clearly, the last non-zero digit is even iff iff .
Thus we are looking for the smallest such that the power of that divides is at least equal to the power of that divides .
The number is a product of consecutive integers. Out of these, are divisible by . Out of those , at least are divisible by , and out of those , one is divisible by . Therefore for all .
On the other hand, exactly of our ten integers are divisible by , and at most one of them can be divisible by a higher power of . As we need , one of the integers from to must be divisible by . Therefore .
We can now take numbers starting with , and write each of them in the form . We are looking for 10 consecutive rows where the sum of s is at least equal to the sum of s.
number x y z 78116 2 0 19529 78117 0 0 78117 78118 1 0 39059 78119: 0 0 78119 78120: 3 1 1953 78121: 0 0 78121 78122: 1 0 39061 78123: 0 0 78123 78124: 2 0 19531 78125: 0 7 1 78126: 1 0 39063
At this point we can stop, as we just found out that is of the form . Therefore the we seek is .
Now all we need to do is to compute the last non-zero digit. As the powers of and that divide are equal, the last non-zero digit is simply the product of the last digits of the ten s. This is .
See also
1998 AHSME (Problems • Answer Key • Resources) | ||
Preceded by Problem 29 |
Followed by Last Question | |
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 • 26 • 27 • 28 • 29 • 30 | ||
All AHSME Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.