cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A269223 Factorial of the sum of digits of n in base 3.

Original entry on oeis.org

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

Views

Author

M. F. Hasler, Mar 15 2016

Keywords

Comments

Sequence A093659 is the binary (base 2) and sequence A269221 is the decimal (base 10) version.

Crossrefs

Programs

  • Mathematica
    Table[Total[IntegerDigits[n, 3]]!, {n, 0, 70}] (* Michael De Vlieger, Mar 15 2016 *)
  • 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

Formula

a(n) = A000142(A053735(n)).