OFFSET
0,3
EXAMPLE
a(12) = 47916 since 12! = 479001600.
MATHEMATICA
Table[FromDigits[Select[IntegerDigits[n!], Positive]], {n, 0, 26}]
PROG
(PARI) a(n) = fromdigits(select(x->(x>0), digits(n!))); \\ Michel Marcus, Aug 26 2022
(Python)
from math import factorial
def a(n): return int(str(factorial(n)).replace("0", ""))
print([a(n) for n in range(27)]) # Michael S. Branicky, Aug 26 2022
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Stefano Spezia, Aug 26 2022
STATUS
approved