|
|
A066577
|
|
a(n) = floor(n/(product of nonzero digits of n)).
|
|
3
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 10, 11, 6, 4, 3, 3, 2, 2, 2, 2, 10, 10, 5, 3, 3, 2, 2, 1, 1, 1, 10, 10, 5, 3, 2, 2, 2, 1, 1, 1, 10, 10, 5, 3, 2, 2, 1, 1, 1, 1, 10, 10, 5, 3, 2, 2, 1, 1, 1, 1, 10, 10, 5, 3, 2, 2, 1, 1, 1, 1, 10, 10, 5, 3, 2, 2, 1, 1, 1, 1, 10, 10, 5, 3, 2, 2, 1, 1, 1, 1, 10, 10, 5, 3, 2, 2, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,10
|
|
COMMENTS
|
a(12) = floor(12/(1*2)) = 6; a(14) = floor(14/(1*4)) floor(3.5) = 3.
|
|
LINKS
|
|
|
MATHEMATICA
|
Table[Floor[n/Times@@(IntegerDigits[n]/.(0->1))], {n, 100}] (* Harvey P. Dale, Apr 19 2014 *)
|
|
PROG
|
(PARI) ProdNzD(x)= { local(d, p=1); while (x>9, d=x%10; if (d, p*=d); x\=10); return(p*x) } { for (n=1, 1000, a=floor(n/ProdNzD(n)); write("b066577.txt", n, " ", a) ) } \\ Harry J. Smith, Mar 07 2010
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|