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.

A131720 Period 6: repeat [0, 1, -1, 1, -1, 0].

Original entry on oeis.org

0, 1, -1, 1, -1, 0, 0, 1, -1, 1, -1, 0, 0, 1, -1, 1, -1, 0, 0, 1, -1, 1, -1, 0, 0, 1, -1, 1, -1, 0, 0, 1, -1, 1, -1, 0, 0, 1, -1, 1, -1, 0, 0, 1, -1, 1, -1, 0, 0, 1, -1, 1, -1, 0, 0, 1, -1, 1, -1, 0, 0, 1, -1, 1, -1, 0, 0, 1, -1, 1, -1, 0, 0, 1, -1, 1, -1, 0
Offset: 0

Views

Author

Paul Curtz, Sep 15 2007

Keywords

Programs

Formula

a(n) = 1/6*cos(1/3*Pi*n)+1/6*3^(1/2)*sin(1/3*Pi*n)+1/2*cos(2/3*Pi*n)+1/6*3^(1/2)*sin(2/3*Pi*n)+2/3*(-1)^(1+n). - R. J. Mathar, Nov 15 2007
G.f.: x*(x^2+1) / ((x+1)*(x^2-x+1)*(x^2+x+1)). [Maksym Voznyy (voznyy(AT)mail.ru), Aug 11 2009]
a(n) + a(n-1) + a(n-2) + a(n-3) + a(n-4) + a(n-5) = 0 for n>4. - Wesley Ivan Hurt, Jun 20 2016