login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A155599 8^n-2^n+1^n 33
1, 7, 61, 505, 4081, 32737, 262081, 2097025, 16776961, 134217217, 1073740801, 8589932545, 68719472641, 549755805697, 4398046494721, 35184372056065, 281474976645121, 2251799813554177, 18014398509219841, 144115188075331585 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..19.

Index entries for linear recurrences with constant coefficients, signature (11,-26,16).

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)=7 - Vincenzo Librandi, Jul 21 2010

MATHEMATICA

Table[8^n-2^n+1, {n, 0, 30}] (* or *) LinearRecurrence[{11, -26, 16}, {1, 7, 61}, 30] (* Harvey P. Dale, Feb 25 2014 *)

PROG

(PARI) a(n)=8^n-2^n+1 \\ Charles R Greathouse IV, Sep 24 2015

CROSSREFS

Cf. A074501, A020515, A155588, A155590, A155592, A155593, A155594, A155596, A155597, A155598.

Sequence in context: A218805 A164943 A218228 * A104093 A015572 A066443

Adjacent sequences:  A155596 A155597 A155598 * A155600 A155601 A155602

KEYWORD

nonn,easy

AUTHOR

Mohammad K. Azarian, Jan 25 2009

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 3 14:58 EST 2021. Contains 341762 sequences. (Running on oeis4.)