login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A356757 Omit zero digits from factorial numbers. 2
1, 1, 2, 6, 24, 12, 72, 54, 432, 36288, 36288, 399168, 47916, 622728, 871782912, 137674368, 2922789888, 35568742896, 64237375728, 121645148832, 243292817664, 5199421717944, 11247277776768, 258521673888497664, 624484173323943936, 15511214333985984, 4329146112665635584 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
a(n) = A004719(A000142(n)).
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
Cf. A027869 (number of omitted zero digits), A356758 (number of nonzero digits).
Sequence in context: A374265 A243657 A321475 * A004154 A076126 A263692
KEYWORD
nonn,base
AUTHOR
Stefano Spezia, Aug 26 2022
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 10 22:34 EDT 2024. Contains 375058 sequences. (Running on oeis4.)