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.

A089979 Expansion of 1/(1-4x-4x^3).

Original entry on oeis.org

1, 4, 16, 68, 288, 1216, 5136, 21696, 91648, 387136, 1635328, 6907904, 29180160, 123261952, 520679424, 2199438336, 9290801152, 39245922304, 165781442560, 700288974848, 2958139588608, 12495684124672, 52783892398080
Offset: 0

Views

Author

Paul Barry, Nov 18 2003

Keywords

Crossrefs

Programs

  • Mathematica
    CoefficientList[Series[1/(1 - 4*x - 4*x^3), {x, 0, 50}], x] (* or *) LinearRecurrence[{4,0,4}, {1,4,16}, 50] (* G. C. Greubel, Apr 29 2017 *)
  • PARI
    x='x+O('x^50); Vec(1/(1 - 4*x - 4*x^3)) \\ G. C. Greubel, Apr 29 2017

Formula

a(n) = Sum_{k=0..floor(n/2)} C(n-2*k, k)*4^(n-2*k).
a(n) = 4*a(n-1) + 4*a(n-3). - G. C. Greubel, Apr 29 2017