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.

A276940 a(1) = 2; for n > 1, a(n) = (n-2)! * n^3.

Original entry on oeis.org

2, 8, 27, 128, 750, 5184, 41160, 368640, 3674160, 40320000, 482993280, 6270566400, 87697209600, 1314380390400, 21016195200000, 357082280755200, 6424604169984000, 122021710626816000, 2439660069310464000, 51218989645824000000, 1126555274886193152000, 25905540583064862720000, 621623493403188756480000, 15538186060797648568320000
Offset: 1

Views

Author

Antti Karttunen, Sep 24 2016

Keywords

Comments

In factorial base representation (A007623) the terms are written as: 10, 110, 1011, 10110, 101100, 1011000, 10110000, ... From a(3) = 27 = "1011" onward each term begins always with "1011", followed by n-3 zeros. - Antti Karttunen, Sep 24 2016

Crossrefs

Row 20 of A276955 (from a(3) = 27 onward).

Programs

  • Mathematica
    Join[{2},Table[(n-2)! n^3,{n,2,30}]] (* Harvey P. Dale, Apr 14 2017 *)

Formula

a(1) = 2; for n > 1, a(n) = (n-2)! * n^3.
a(n) = n * A054119(n).
For n >= 3, a(n) = (n+1)! + (n-1)! + (n-2)!.