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.

A154595 Period 6: repeat [1, 3, 3, -1, -3, -3].

Original entry on oeis.org

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

Views

Author

Paul Curtz, Jan 12 2009

Keywords

Comments

First differences of A154127.

Crossrefs

Cf. A154127.

Programs

Formula

G.f.: ( 1+3*x+3*x^2 ) / ( (1+x)*(x^2-x+1) ). - R. J. Mathar, Dec 04 2011
From Wesley Ivan Hurt, Jun 23 2016: (Start)
a(n) + a(n-3) = 0 for n>2.
a(n) = (cos(n*Pi) + 2*cos(n*Pi/3) + 6*sqrt(3)*sin(n*Pi/3))/3. (End)

Extensions

Edited by N. J. A. Sloane, Jan 12 2009