OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..300
Index entries for linear recurrences with constant coefficients, signature (24,-191,504).
FORMULA
From Mohammad K. Azarian, Dec 26 2008: (Start)
G.f.: 1/(1-7*x) + 1/(1-8*x) + 1/(1-9*x).
E.g.f.: e^(7*x) + e^(8*x) + e^(9*x). (End)
MATHEMATICA
Table[7^n + 8^n + 9^n, {n, 0, 18}]
LinearRecurrence[{24, -191, 504}, {3, 24, 194}, 20] (* Harvey P. Dale, Jun 09 2019 *)
PROG
(Magma) [7^n + 8^n + 9^n: n in [0..20]]; // Vincenzo Librandi, May 20 2011
(PARI) a(n)=7^n+8^n+9^n \\ Charles R Greathouse IV, Jun 10 2011
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Robert G. Wilson v, Aug 23 2002
STATUS
approved