AIME 1994 · 第 5 题
AIME 1994 — Problem 5
题目详情
Problem
Given a positive integer , let be the product of the non-zero digits of . (If has only one digit, then is equal to that digit.) Let
.
What is the largest prime factor of ?
解析
Solution
Solution 1
Suppose we write each number in the form of a three-digit number (so ), and since our ignores all of the zero-digits, replace all of the s with s. Now note that in the expansion of
we cover every permutation of every product of digits, including the case where that first represents the replaced s. However, since our list does not include , we have to subtract . Thus, our answer .
Solution 2
Note that , and . So , . We add to get 2115. When we add a digit we multiply the sum by that digit. Thus . But we didn't count 100, 200, 300, ..., 900. Thus, we have to add another 45 to get . The largest prime factor of that is .