MathCastle
ChallengeSuperchallenge

Challenge · Superchallenge problem

Define f(n)f(n) as the product of the NONZERO digits of nn (so f(10)=1f(10) = 1 and f(15)=5f(15) = 5). Compute f(1)+f(2)+⋯+f(20)f(1) + f(2) + \cdots + f(20).

Practice more like this