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.

A199560 a(n) = (3*9^n + 1)/2.

Original entry on oeis.org

2, 14, 122, 1094, 9842, 88574, 797162, 7174454, 64570082, 581130734, 5230176602, 47071589414, 423644304722, 3812798742494, 34315188682442, 308836698141974, 2779530283277762, 25015772549499854, 225141952945498682, 2026277576509488134, 18236498188585393202
Offset: 0

Views

Author

Vincenzo Librandi, Nov 08 2011

Keywords

Crossrefs

Programs

  • Magma
    [(3*9^n+1)/2: n in [0..30]];
  • Mathematica
    LinearRecurrence[{10,-9},{2,14},30] (* or *) NestList[9#-4&,2,30] (* Harvey P. Dale, May 30 2012 *)

Formula

a(n) = 2*A066443(n).
a(n) = 9*a(n-1) - 4.
a(n) = 10*a(n-1) - 9*a(n-2).
G.f.: 2*(1-3*x)/((1-x)*(1-9*x)).
From Elmo R. Oliveira, Sep 13 2024: (Start)
E.g.f.: exp(x)*(3*exp(8*x) + 1)/2.
a(n) = A199561(n)/2. (End)