Question: Find the value of the sum

Let p be the product of all non-zero digits of the positive integer n . For example , p(4)=4,p(50)=5,p(123)=6,p(2014)=30.
Find the value of the sum :S= p(1)+p(2)+p(3)+...+p(2014)

Please Wait...