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.

A129197 a(n) = numerator( 3*(3+(-1)^n)/(n+1)^3 ).

Original entry on oeis.org

12, 3, 4, 3, 12, 1, 12, 3, 4, 3, 12, 1, 12, 3, 4, 3, 12, 1, 12, 3, 4, 3, 12, 1, 12, 3, 4, 3, 12, 1, 12, 3, 4, 3, 12, 1, 12, 3, 4, 3, 12, 1, 12, 3, 4, 3, 12, 1, 12, 3, 4, 3, 12, 1, 12, 3, 4, 3, 12, 1, 12, 3, 4, 3, 12, 1, 12, 3, 4, 3, 12, 1, 12, 3, 4, 3, 12, 1
Offset: 0

Views

Author

Paul Barry, Apr 02 2007

Keywords

Comments

Denominator of 3*(3+(-1)^n)/(n+1)^3 is A129196.

Crossrefs

Cf. sequences listed in Comments section of A283393.

Programs

  • Mathematica
    Table[3 (3+(-1)^n)/(n+1)^3,{n,0,80}]//Numerator (* Harvey P. Dale, Sep 26 2020 *)

Formula

G.f.: (12 + 3*x + 4*x^2 + 3*x^3 + 12*x^4 + x^5)/(1 - x^6).
Period 6: repeat [12, 3, 4, 3, 12, 1].