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.

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

Original entry on oeis.org

4, 3, 24, 105, 492, 2283, 10608, 49281, 228948, 1063635, 4941384, 22956441, 106649916, 495468987, 2301825696, 10693709745, 49680316068, 230802393507, 1072250522232, 4981409269449, 23142388644492, 107513782386315, 499482295478736, 2320470529073889
Offset: 1

Views

Author

Harvey P. Dale, Apr 26 2011

Keywords

Crossrefs

Programs

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

Formula

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