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

A269223
Factorial of the sum of digits of n in base 3.
2
1, 1, 2, 1, 2, 6, 2, 6, 24, 1, 2, 6, 2, 6, 24, 6, 24, 120, 2, 6, 24, 6, 24, 120, 24, 120, 720, 1, 2, 6, 2, 6, 24, 6, 24, 120, 2, 6, 24, 6, 24, 120, 24, 120, 720, 6, 24, 120, 24, 120, 720, 120, 720, 5040, 2, 6, 24, 6, 24, 120, 24, 120, 720, 6, 24, 120, 24, 120, 720, 120, 720
OFFSET
0,3
COMMENTS
Sequence A093659 is the binary (base 2) and sequence A269221 is the decimal (base 10) version.
FORMULA
a(n) = A000142(A053735(n)).
MATHEMATICA
Table[Total[IntegerDigits[n, 3]]!, {n, 0, 70}] (* Michael De Vlieger, Mar 15 2016 *)
PROG
(PARI) A269223(n)=sumdigits(n, 3)! \\ sumdigits(., 3) requires version > 2.7.1; see A053735 for a substitute.
(PARI) a(n) = vecsum(digits(n, 3))!; \\ Michel Marcus, Mar 15 2016
CROSSREFS
KEYWORD
nonn,base
AUTHOR
M. F. Hasler, Mar 15 2016
STATUS
approved