OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (17,-71,55).
FORMULA
G.f.: 1/(1-11*x)+1/(1-5*x)-1/(1-x). E.g.f.: e^(11*x)+e^(5*x)-e^x.
a(n) = 16*a(n-1)-55*a(n-2)-40 with a(0)=1, a(1)=15 - Vincenzo Librandi, Jul 21 2010
MAPLE
MATHEMATICA
Table[11^n + 5^n - 1, {n, 0, 30}] (* Wesley Ivan Hurt, Jan 28 2014 *)
LinearRecurrence[{17, -71, 55}, {1, 15, 145}, 30] (* Harvey P. Dale, Jul 03 2019 *)
PROG
(PARI) a(n)=11^n+5^n-1 \\ Charles R Greathouse IV, Sep 24 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Jan 30 2009
STATUS
approved