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.

A294372 Expansion of (1-x)^4/(x^2 + 4*x + 1).

Original entry on oeis.org

1, -8, 37, -144, 540, -2016, 7524, -28080, 104796, -391104, 1459620, -5447376, 20329884, -75872160, 283158756, -1056762864, 3943892700, -14718807936, 54931339044, -205006548240, 765094853916, -2855372867424, 10656396615780, -39770213595696, 148424457767004
Offset: 0

Views

Author

Seiichi Manyama, Dec 19 2017

Keywords

Crossrefs

Programs

  • PARI
    N=66; x='x+O('x^N); Vec((1-x)^4/(x^2+4*x+1))

Formula

G.f.: 1/Sum_{k>=0} (k+1)^3*x^k.
From Colin Barker, Dec 19 2017: (Start)
a(n) = -6*sqrt(3)*((-2-sqrt(3))^n*(-2+sqrt(3)) + (-2+sqrt(3))^n*(2+sqrt(3))) for n > 2.
a(n) = -4*a(n-1) - a(n-2) for n > 4.
(End)