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.

A135265 Period 6: repeat [1, 1, 1, 2, 2, 2].

Original entry on oeis.org

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

Views

Author

Paul Curtz, Dec 02 2007

Keywords

Crossrefs

Cf. A178331 (decimal expansion of (17+2*sqrt(210))/29). [Klaus Brockhaus, May 25 2010]

Programs

Formula

G.f.: (1+2*x^3)/((1-x)*(1+x)*(1-x+x^2)). [Jaume Oliver Lafont, Aug 30 2009]
a(n) = 3/2 - cos(Pi*n/3)/3 - sin(Pi*n/3)/sqrt(3) - (-1)^n/6. - R. J. Mathar, Oct 08 2011
a(n) = 1+(1-(-1)^floor(n/3))/2. [Bruno Berselli, Jul 12 2013]
a(n) = a(n-1) - a(n-3) + a(n-4) for n>3. - Wesley Ivan Hurt, Jun 20 2016

Extensions

More terms from Klaus Brockhaus, May 25 2010