AIME 2006 II · 第 14 题
AIME 2006 II — Problem 14
题目详情
Problem
Let be the sum of the reciprocals of the non-zero digits of the integers from to inclusive. Find the smallest positive integer for which is an integer.
解析
Solution
Let . Examining the terms in , we see that since each digit appears once and 1 appears an extra time. Now consider writing out . Each term of will appear 10 times in the units place and 10 times in the tens place (plus one extra 1 will appear), so .
In general, we will have that
because each digit will appear times in each place in the numbers , and there are total places.
The denominator of is . For to be an integer, must be divisible by . Since only contains the factors and (but will contain enough of them when ), we must choose to be divisible by . Since we're looking for the smallest such , the answer is .
Solution 2 (easier approach but nearly same logic)
Consider , since clearly doesn't work.
For a certain to be summed such that it is an integer, we must have to be summed continuously times for some integer . For example, if we have , we sum either times to obtain an integer.
Thus, every digit must be . It is known that every digit between every period appears the same number of times. For example, for the first numbers (excluding and ), every digit from appears the same number of times.
If we can find an algorithm that calculates the number of times a digit appears between and , and extend that for all values of , we could look for a specific value of such that every digit appears a number of times such that all the reciprocals, when summed, are integers.
To find this algorithm, we construct a pattern. Consider . Let's try to find the number of 's between this interval. There are numbers (excluding from ), whose units digits is . From , we have nine 's. gives us more 's, and thus we have a total of nines. We then consider . Between and , we have nines. The same applies from . We then have a total of nines. Then, we have nine from , so nines. Then, from , we have one , contributing nines. For additional numbers (), we have nines, contributing nines. Then, for the final set of , we also have nines each, giving more nines, and the last has nines, giving a total of nines.
Now we must find a pattern. For every number , we must find the number of 's. Note that for all numbers less than , we are given that can appear in any one of the positions between the units digit, and the decimal digit. That is places. For each places, the numbers appear equally often, and thus there are slots. Our algorithm is then .
Note that this formula also works for . For , note that we have to add that appears from , so the formula for is slightly different, being .
Thus, we now are at the second part. We require such that
Obviously, the former is always true, as divides everything. Thus, we neglect the former and pay attention to the latter.
The , after some work, is 2520. Thus, . The prime factorization of 2520 is . The prime factorization of is . To check extraneous, note that for , we have that , and the same for with , hence this is solvable. Because 9 and 7 are not factors of 10, we have that 9 and 7 must divide into , meaning that . The smallest is then right in front of us, or .
~Pinotation