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.

A134430 Period 4: repeat [1, -2, -2, 1].

Original entry on oeis.org

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

Views

Author

Paul Curtz, Jan 31 2008

Keywords

Crossrefs

Programs

Formula

Binomial transform of A134813.
|a(n)| = A014695(n).
G.f.: (1-3*x+x^2) / ((1-x)*(1+x^2)). - R. J. Mathar, Jan 18 2011
From Wesley Ivan Hurt, Jul 09 2016: (Start)
a(n) = a(n-1) - a(n-2) + a(n-3) for n>2, a(n) = a(n-4) for n>3.
a(n) = (3*cos(n*Pi/2) - 3*sin(n*Pi/2) - 1)/2. (End)