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.

A105367 Expansion of (1-x^3)/(1-x^5).

Original entry on oeis.org

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

Views

Author

Paul Barry, Apr 01 2005

Keywords

Comments

Periodic {1,0,0,-1,0}. Partial sums of A105368. Binomial transform of A105370.

Formula

G.f.: (1+x+x^2)/(1+x+x^2+x^3+x^4);
a(n) = sqrt(2/5 - 2*sqrt(5)/25)*cos(4*Pi*n/5 + 3*Pi/10) + sqrt(2/5 + 2*sqrt(5)/25)*sin(2*Pi*n/5 + 2*Pi/5).