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.

A178141 Period 6: repeat [4, -1, 2, -4, 1, 2].

Original entry on oeis.org

4, -1, 2, -4, 1, 2, 4, -1, 2, -4, 1, 2, 4, -1, 2, -4, 1, 2, 4, -1, 2, -4, 1, 2, 4, -1, 2, -4, 1, 2, 4, -1, 2, -4, 1, 2, 4, -1, 2, -4, 1, 2, 4, -1, 2, -4, 1, 2, 4, -1, 2, -4, 1, 2, 4, -1, 2, -4, 1, 2, 4, -1, 2, -4, 1, 2, 4, -1, 2, -4, 1, 2, 4, -1, 2, -4, 1, 2
Offset: 0

Views

Author

Paul Curtz, May 21 2010

Keywords

Comments

Differences of the period 6: repeat [1, 5, 4, 6, 2, 3] (A070365).

Crossrefs

Programs

Formula

Mix A153727(n+1) with -A153727(n).
From Wesley Ivan Hurt, Jun 23 2016: (Start)
G.f.: (4-x+2*x^2-4*x^3+x^4+2*x^5)/(1-x^6).
a(n) = a(n-6) for n>5.
a(n) = (2 + 5*cos(n*Pi) + 7*cos(n*Pi/3) - 2*cos(2*n*Pi/3) - sqrt(3)*sin(n*Pi/3) - 2*sqrt(3)*sin(2*n*Pi/3))/3. (End)

Extensions

New name from Wesley Ivan Hurt, Jun 23 2016