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.

A155592 8^n+2^n-1^n.

Original entry on oeis.org

1, 9, 67, 519, 4111, 32799, 262207, 2097279, 16777471, 134218239, 1073742847, 8589936639, 68719480831, 549755822079, 4398046527487, 35184372121599, 281474976776191, 2251799813816319, 18014398509744127, 144115188076380159
Offset: 0

Views

Author

Mohammad K. Azarian, Jan 24 2009

Keywords

Crossrefs

Programs

  • Mathematica
    Table[8^n+2^n-1^n,{n,0,30}] (* or *) LinearRecurrence[{11,-26,16},{1,9,67},30] (* Harvey P. Dale, Jul 09 2017 *)
  • PARI
    a(n)=8^n+2^n-1 \\ Charles R Greathouse IV, Jun 11 2015

Formula

G.f.: 1/(1-8*x)+1/(1-2*x)-1/(1-x). E.g.f.: e^(8*x)+e^(2*x)-e^x.
a(n)=10*a(n-1)-16*a(n-2)-7 with a(0)=1, a(1)=9 - Vincenzo Librandi, Jul 21 2010
a(n) = A074603(n)-1. - R. J. Mathar, Mar 10 2022