OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (21,-119,99).
FORMULA
G.f.: 1/(1-11*x)+1/(1-9*x)-1/(1-x). E.g.f.: e^(11*x)+e^(9*x)-e^x.
a(n)=20*a(n-1)-99*a(n-2)-80 with a(0)=1, a(1)=19 - Vincenzo Librandi, Jul 21 2010
MATHEMATICA
Table[11^n+9^n-1^n, {n, 0, 30}] (* Harvey P. Dale, Mar 26 2011 *)
PROG
(PARI) a(n)=11^n+9^n-1^n \\ Charles R Greathouse IV, Oct 16 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Feb 01 2009
STATUS
approved