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.

A154687 Period 6: repeat [1, 4, 7, 8, 5, 2].

Original entry on oeis.org

1, 4, 7, 8, 5, 2, 1, 4, 7, 8, 5, 2, 1, 4, 7, 8, 5, 2, 1, 4, 7, 8, 5, 2, 1, 4, 7, 8, 5, 2, 1, 4, 7, 8, 5, 2, 1, 4, 7, 8, 5, 2, 1, 4, 7, 8, 5, 2, 1, 4, 7, 8, 5, 2, 1, 4, 7, 8, 5, 2, 1, 4, 7, 8, 5, 2, 1, 4, 7, 8, 5, 2, 1, 4, 7, 8, 5, 2, 1, 4, 7, 8, 5, 2, 1, 4
Offset: 0

Views

Author

Paul Curtz, Jan 14 2009

Keywords

Comments

Terms of the simple continued fraction of 1501/(sqrt(5071503)-1043). [Paolo P. Lava, Feb 17 2009]
Decimal expansion of 148/1001. [Paolo P. Lava, Aug 05 2009]

Programs

Formula

From Wesley Ivan Hurt, Jun 23 2016: (Start)
G.f.: (1+3*x+3*x^2+2*x^3) / (1-x+x^3-x^4).
a(n) = a(n-1) - a(n-3) + a(n-4) for n>3.
a(n) = (27 - cos(n*Pi) - 20*cos(n*Pi/3) + 4*sqrt(3)*sin(n*Pi/3))/6. (End)