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