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.

A189743 a(1)=4, a(2)=4, a(n) = 4*a(n-1) + 4*a(n-2).

Original entry on oeis.org

4, 4, 32, 144, 704, 3392, 16384, 79104, 381952, 1844224, 8904704, 42995712, 207601664, 1002389504, 4839964672, 23369416704, 112837525504, 544827768832, 2630661177344, 12701955784704, 61330467848192, 296129694531584, 1429840649519104, 6903881376202752
Offset: 1

Views

Author

Harvey P. Dale, Apr 26 2011

Keywords

Crossrefs

Programs

  • Mathematica
    LinearRecurrence[{4,4},{4,4},40]
  • Maxima
    a[1]:4$ a[2]:4$ a[n]:=4*a[n-1]+4*a[n-2]$ makelist(a[n], n, 1, 24); /* Bruno Berselli, May 24 2011 */

Formula

G.f.: 4*x*(1-3*x)/(1-4*x-4*x^2). - Bruno Berselli, May 24 2011