OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (9,-23,15).
FORMULA
G.f.: 1/(1-5*x)+1/(1-3*x)-1/(1-x).
E.g.f.: e^(5*x)+e^(3*x)-e^x.
a(n) = 8*a(n-1)-15*a(n-2)-8 with a(0)=1, a(1)=7. - Vincenzo Librandi, Jul 21 2010
a(n) = A074606(n)-1. - R. J. Mathar, Mar 10 2022
MATHEMATICA
Table[5^n+3^n-1, {n, 0, 30}] (* or *) LinearRecurrence[{9, -23, 15}, {1, 7, 33}, 30] (* Harvey P. Dale, Oct 14 2020 *)
PROG
(PARI) a(n)=5^n+3^n-1 \\ Charles R Greathouse IV, Jun 11 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Jan 25 2009
STATUS
approved