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.

A189746 a(1)=5, a(2)=2, a(n) = 5*a(n-1) + 2*a(n-2).

Original entry on oeis.org

5, 2, 20, 104, 560, 3008, 16160, 86816, 466400, 2505632, 13460960, 72316064, 388502240, 2087143328, 11212721120, 60237892256, 323614903520, 1738550302112, 9339981317600, 50177007192224, 269564998596320, 1448179007366048, 7780025034022880, 41796483184846496
Offset: 1

Views

Author

Harvey P. Dale, Apr 26 2011

Keywords

Crossrefs

Programs

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

Formula

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