login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A067455
Let m be the product of the decimal digits in n, then a(n) = 0 if m = 0, otherwise a(n) = n!/m.
0
1, 1, 2, 6, 24, 120, 720, 5040, 40320, 0, 39916800, 239500800, 2075673600, 21794572800, 261534873600, 3487131648000, 50812489728000, 800296713216000, 13516122267648000, 0, 25545471085854720000, 281000181944401920000, 4308669456480829440000, 77556050216654929920000
OFFSET
1,3
COMMENTS
Terms from Robert G. Wilson v.
MATHEMATICA
a = {}; Do[b = Apply[Times, IntegerDigits[n]]; a = Append[a, If[b != 0, n!/b, 0]], {n, 1, 25}]; a (* Robert G. Wilson v *)
CROSSREFS
Sequence in context: A248840 A072131 A230051 * A033646 A319549 A319209
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, Feb 05 2002
EXTENSIONS
Offset corrected and title clarified by Sean A. Irvine, Dec 16 2023
STATUS
approved