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.

A131716 Period 6: repeat [0, 1, 2, 5, 8, 9].

Original entry on oeis.org

0, 1, 2, 5, 8, 9, 0, 1, 2, 5, 8, 9, 0, 1, 2, 5, 8, 9, 0, 1, 2, 5, 8, 9, 0, 1, 2, 5, 8, 9, 0, 1, 2, 5, 8, 9, 0, 1, 2, 5, 8, 9, 0, 1, 2, 5, 8, 9, 0, 1, 2, 5, 8, 9, 0, 1, 2, 5, 8, 9, 0, 1, 2, 5, 8, 9, 0, 1, 2, 5, 8, 9, 0, 1, 2, 5, 8, 9, 0, 1, 2, 5, 8, 9, 0, 1
Offset: 0

Views

Author

Paul Curtz, Sep 14 2007

Keywords

Crossrefs

Cf. A131711.

Programs

Formula

From Wesley Ivan Hurt, Jun 19 2016: (Start)
G.f.: x*(1+2*x+5*x^2+8*x^3+9*x^4)/(1-x^6).
a(n) = a(n-6) for n>5.
a(n) = (25 - 5*cos(n*Pi) - 10*cos(n*Pi/3) - 10*cos(2*n*Pi/3) - 14*sqrt(3)*sin(n*Pi/3) - 2*sqrt(3)*sin(2*n*Pi/3))/6. (End)