login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A155641 8^n-5^n+1^n. 18
1, 4, 40, 388, 3472, 29644, 246520, 2019028, 16386592, 132264604, 1063976200, 8541106468, 68475336112, 548535110764, 4391942995480, 35153854510708, 281322388820032, 2251036874232124, 18010583812216360, 144096114589527748 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
G.f.: 1/(1-8*x)-1/(1-5*x)+1/(1-x). E.g.f.: e^(8*x)-e^(5*x)+e^x.
a(n)=13*a(n-1)-40*a(n-2)+28 with a(0)=1, a(1)=4 - Vincenzo Librandi, Jul 21 2010
MATHEMATICA
Table[8^n-5^n+1^n, {n, 0, 20}] (* or *) LinearRecurrence[{14, -53, 40}, {1, 4, 40}, 20] (* Harvey P. Dale, May 08 2018 *)
PROG
(PARI) a(n)=8^n-5^n+1 \\ Charles R Greathouse IV, Jun 11 2015
CROSSREFS
Sequence in context: A220366 A220310 A246152 * A122652 A299867 A093141
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Jan 30 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 4 19:41 EDT 2024. Contains 372257 sequences. (Running on oeis4.)