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.

A174784 Expansion of x*(1-x+x^3+x^4)/(1+x^6) (Period 12).

Original entry on oeis.org

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

Views

Author

Paul Barry, Mar 29 2010

Keywords

Comments

Hankel transform of A174783 is -a(n).

Programs

  • Mathematica
    LinearRecurrence[{0,0,0,0,0,-1},{0,1,-1,0,1,1},100] (* or *) PadRight[ {},120,{0,1,-1,0,1,1,0,-1,1,0,-1,-1}] (* Harvey P. Dale, Feb 25 2017 *)

Formula

a(n) = -cos(5*Pi*n/6)/3 + sin(5*Pi*n/6)/3 - cos(Pi*n/6)/3 + sin(Pi*n/6)/3 + 2*cos(Pi*n/2)/3 + 2*sin(Pi*n/2)/3.
G.f.: x*(1-x+x^3+x^4) / ( (1+x^2)*(x^4-x^2+1) ). - R. J. Mathar, Feb 10 2015