Problem

Source: Slovenia National MO 2001 2nd Grade P2

Tags: number theory



Let $p(n)$ denote the product of decimal digits of a positive integer $n$. Computer the sum $p(1)+p(2)+\ldots+p(2001)$.