OFFSET
1,2
COMMENTS
EXAMPLE
a(4) = A007954(4^3) = product of digits of 64 = 6 * 4 = 24, since none of the digits is 0.
a(10) = product of nonzero digits of 1000 = 1.
MATHEMATICA
Table[Times @@ Select[IntegerDigits[n^3], # > 0 &], {n, 60}] (* T. D. Noe, Oct 22 2012 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Jonathan Vos Post, Oct 21 2012
STATUS
approved