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.

A135695 Period 6: repeat [-1, -1, -2, -2, 3, 3].

Original entry on oeis.org

-1, -1, -2, -2, 3, 3, -1, -1, -2, -2, 3, 3, -1, -1, -2, -2, 3, 3, -1, -1, -2, -2, 3, 3, -1, -1, -2, -2, 3, 3, -1, -1, -2, -2, 3, 3, -1, -1, -2, -2, 3, 3, -1, -1, -2, -2, 3, 3, -1, -1, -2, -2, 3, 3, -1, -1, -2, -2, 3, 3, -1, -1, -2, -2, 3, 3, -1, -1, -2, -2, 3, 3, -1, -1, -2, -2, 3, 3, -1
Offset: 0

Views

Author

Paul Curtz, Feb 24 2008

Keywords

Crossrefs

Cf. A105899.

Programs

Formula

From R. J. Mathar, Mar 31 2008: (Start)
a(n) = a(n-6) for n>5. a(n) = -a(n-2) - a(n-4) for n>3.
G.f.: -(x+1)*(3*x^2+1)/((x^2-x+1)*(x^2+x+1)). (End)
a(n) = (3*cos(n*Pi/3) - 9*cos(2*n*Pi/3) - 9*sqrt(3)*sin(n*Pi/3) + sqrt(3)*sin(2*n*Pi/3))/6. - Wesley Ivan Hurt, Jun 22 2016

Extensions

More periods from R. J. Mathar, Feb 07 2009