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.

A134752 a(n) = 3^(2*n-1) + 2.

Original entry on oeis.org

5, 29, 245, 2189, 19685, 177149, 1594325, 14348909, 129140165, 1162261469, 10460353205, 94143178829, 847288609445, 7625597484989, 68630377364885, 617673396283949, 5559060566555525, 50031545098999709, 450283905890997365, 4052555153018976269
Offset: 1

Views

Author

N. J. A. Sloane, Jan 28 2008

Keywords

Comments

Suggested by a posting from Luis H. Gallardo to the Number Theory List, Jan 14 2008

Crossrefs

Cf. A134753.

Programs

  • Mathematica
    3^(2*Range[20]-1)+2 (* or *) LinearRecurrence[{10, -9}, {5, 29}, 20] (* Harvey P. Dale, Dec 08 2015 *)

Formula

a(1)=5, a(2)=29, a(n)=10*a(n-1)-9*a(n-2). - Harvey P. Dale, Dec 08 2015