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”).

A127110
n! in base 3.
5
1, 1, 2, 20, 220, 11110, 222200, 20220200, 2001022100, 200102210000, 20211100210000, 2210002222120000, 1020101022210200000, 121001222020102200000, 22100000121100001100000, 11122000100002000202000000, 2202002012101012102212000000, 1201122101101102102110111000000
OFFSET
0,3
MATHEMATICA
Table[FromDigits[IntegerDigits[n!, 3]], {n, 0, 17}] (* Stefano Spezia, Aug 25 2022 *)
PROG
(PARI) a(n) = fromdigits(digits(n!, 3), 10); \\ Michel Marcus, Sep 04 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, Jan 05 2007
STATUS
approved