Please show us what you have tried and exactly where you are stuck.Let n be the largest integer such that n <= 2017, and the sum of its digits equals the product of its digits , Find the sum of the digits of n
Digits in the original set (order of digits doesn't matter here, AND don't include any "0" or "1" digits in this column, why?) | EXTRA number of "1" digits reqd to make (product of the digits) = (sum of digits) | Number of digits in the final, adjusted, set (how many rows can you find with this column equal to 4) |
2 | 0 | 1+0=1 |
... | ... | ... |
2,2,2 | 2 | 3+2=5 |