Problem #326
Digits Play
Let x be the maximum 77 digit decimal number whose sum of digits is equal to the product of its digits.
Answer a 10-digit number such that the i^\text{th} digit from the left is (\:j\:mod\:10\:), where j is the frequency of the digit (10 - i) in x.