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.

Showing 1-2 of 2 results.

A158677 Period 6: repeat [3, 4, 0, 5, 6, 3].

Original entry on oeis.org

3, 4, 0, 5, 6, 3, 3, 4, 0, 5, 6, 3, 3, 4, 0, 5, 6, 3, 3, 4, 0, 5, 6, 3, 3, 4, 0, 5, 6, 3, 3, 4, 0, 5, 6, 3, 3, 4, 0, 5, 6, 3, 3, 4, 0, 5, 6, 3, 3, 4, 0, 5, 6, 3, 3, 4, 0, 5, 6, 3, 3, 4, 0, 5, 6, 3, 3, 4, 0, 5, 6, 3, 3, 4, 0, 5, 6, 3, 3, 4, 0, 5, 6, 3, 3, 4, 0, 5, 6, 3, 3, 4, 0, 5, 6, 3, 3, 4, 0, 5, 6, 3, 3, 4, 0
Offset: 1

Views

Author

Paul Curtz, Mar 24 2009

Keywords

Comments

Also the decimal expansion of 1135210/333333 or the continued fraction of (81+sqrt(9867))/58.

Crossrefs

Cf. A158674.

Programs

Formula

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

Extensions

Edited and extended by R. J. Mathar, Sep 07 2009

A158678 Period 18: repeat 0,0,0,3,0,0,0,3,0,-3,0,3,0,-3,0,0,0,-3.

Original entry on oeis.org

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

Views

Author

Paul Curtz, Mar 24 2009

Keywords

Crossrefs

Formula

a(n) = A158674(n) - A158677(n) = a(n-18).
G.f.: 3*(1+x+x^2)*(x^2-x+1)*(x^4-x^2+1)*x^4/((x^6-x^3+1)*(x^6+x^3+1)). - R. J. Mathar, Apr 08 2009
a(n) = - a(n-6) - a(n-12) for n > 12. - Chai Wah Wu, Feb 18 2021

Extensions

Edited by R. J. Mathar, Apr 08 2009
Showing 1-2 of 2 results.