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.

Showing 1-1 of 1 results.

A255043 a(n) = (5*9^n - 1)/2.

Original entry on oeis.org

2, 22, 202, 1822, 16402, 147622, 1328602, 11957422, 107616802, 968551222, 8716961002, 78452649022, 706073841202, 6354664570822, 57191981137402, 514727830236622, 4632550472129602, 41692954249166422, 375236588242497802, 3377129294182480222
Offset: 0

Views

Author

L. Edson Jeffery, Feb 13 2015

Keywords

Crossrefs

Programs

  • Magma
    [(5*9^n -1)/2: n in [0..20]]; // G. C. Greubel, Feb 07 2021
  • Mathematica
    Table[(5*9^n - 1)/2, {n, 0, 19}]
    LinearRecurrence[{10,-9},{2,22},20] (* Harvey P. Dale, Jun 15 2018 *)
  • Sage
    [(5*9^n -1)/2 for n in (0..20)] # G. C. Greubel, Feb 07 2021
    

Formula

G.f.: 2*(1+x)/((1-x)*(1-9*x)).
Recurrence: a(n) = 10*a(n-1) - 9*a(n-2), n>=2, a(0) = 2, a(1) = 22.
a(n) = 2*A138894(n).
E.g.f.: (5*exp(9*x) - exp(x))/2. - G. C. Greubel, Feb 07 2021
Showing 1-1 of 1 results.