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.

A132380 Period 8: repeat [0, 0, 1, 1, 0, 0, -1, -1].

Original entry on oeis.org

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

Views

Author

Paul Curtz, Nov 10 2007

Keywords

Crossrefs

Cf. A109247.

Programs

Formula

O.g.f.: x^2*(1+x)/(1+x^4). - R. J. Mathar, Apr 06 2008
For n > 0, a(n) = A109247(n)/-3. - Antti Karttunen, Aug 12 2017
a(n) = (1/2)*(1-(-1)^floor(n/2))*(-1)^floor(n/4). - Wesley Ivan Hurt, Aug 31 2019