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.

A155664 a(n) = 10^n+8^n-1.

Original entry on oeis.org

1, 17, 163, 1511, 14095, 132767, 1262143, 12097151, 116777215, 1134217727, 11073741823, 108589934591, 1068719476735, 10549755813887, 104398046511103, 1035184372088831, 10281474976710655, 102251799813685247
Offset: 0

Views

Author

Mohammad K. Azarian, Jan 31 2009

Keywords

Crossrefs

Programs

  • Mathematica
    Table[10^n+8^n-1,{n,0,20}] (* or *) LinearRecurrence[{19,-98,80},{1,17,163},20] (* Harvey P. Dale, Oct 11 2011 *)
  • PARI
    a(n)=10^n+8^n-1 \\ Charles R Greathouse IV, Jun 11 2015

Formula

G.f.: 1/(1-10*x)+1/(1-8*x)-1/(1-x).
E.g.f.: e^(10*x)+e^(8*x)-e^x.
a(n)=18*a(n-1)-80*a(n-2)-63 with a(0)=1, a(1)=17. - Vincenzo Librandi, Jul 21 2010
a(0)=1, a(1)=17, a(2)=163, a(n)=19*a(n-1)-98*a(n-2)+80*a(n-3). - Harvey P. Dale, Oct 11 2011