OFFSET
1,5
FORMULA
PROG
(PARI) a(n) = {p = 1; for (b=2, n, digs = digits(n, b); p *= prod(k=1, #digs, if (digs[k], digs[k], 1)); ); return (p); } \\ Michel Marcus, Jul 15 2013
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Hieronymus Fischer, Jul 08 2007
STATUS
approved