login
A155635
8^n+5^n-1.
16
1, 12, 88, 636, 4720, 35892, 277768, 2175276, 17167840, 136170852, 1083507448, 8638762716, 68963617360, 550976517012, 4404150026728, 35214889666956, 281627564601280, 2252562753138372, 18018213206747608, 144134261562183996
OFFSET
0,2
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)=12 - Vincenzo Librandi, Jul 21 2010
MATHEMATICA
Table[8^n+5^n-1, {n, 0, 40}] (* or *) LinearRecurrence[{14, -53, 40}, {1, 12, 88}, 40] (* Harvey P. Dale, Jan 17 2017 *)
PROG
(PARI) a(n)=8^n+5^n-1^n \\ Charles R Greathouse IV, Jun 11 2015
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Jan 30 2009
STATUS
approved