OFFSET
0,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (12,-29,18).
FORMULA
From Mohammad K. Azarian, Dec 26 2008: (Start)
G.f.: 1/(1-x) + 1/(1-2*x) + 1/(1-9*x).
E.g.f.: e^x + e^(2*x) + e^(9*x). (End)
a(n) = 11*a(n-1) - 18*a(n-2) + 8 with a(0)=3, a(1)=12. - Vincenzo Librandi, Jul 21 2010
MATHEMATICA
Table[1^n + 2^n + 9^n, {n, 0, 20}]
LinearRecurrence[{12, -29, 18}, {3, 12, 86}, 30] (* Harvey P. Dale, Aug 28 2019 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Robert G. Wilson v, Aug 23 2002
STATUS
approved