# Digit Sum = Digit Product

Number Theory Level pending

Find the sum of all the numbers $$n < 10000$$ such that the sum of the digits of $$n$$ equals the product of the digits of $$n$$.

For example, if we let $$n = \overline{AB}$$, then we should find that $$(A+B) = AB$$.

×