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.

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

Original entry on oeis.org

1, -2, 3, -5, 10, -20, 35, -50, 50, 0, -175, 625, -1625, 3625, -7250, 13125, -21250, 29375, -29375, 0, 106250, -384375, 1006250, -2250000, 4500000, -8140625, 13171875, -18203125, 18203125, 0, -65859375, 238281250, -623828125, 1394921875, -2789843750, 5046875000, -8166015625
Offset: 0

Views

Author

Paul Barry, Apr 01 2005

Keywords

Comments

Consecutive pair sums gives A105370.

Formula

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