OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (18,-95,126).
FORMULA
From Mohammad K. Azarian, Dec 28 2008: (Start)
G.f.: 1/(1-2*x) + 1/(1-7*x) + 1/(1-9*x).
E.g.f.: exp(2*x) + exp(7*x) + exp(9*x). (End)
a(n) = 18*a(n-1) - 95*a(n-2) + 126*a(n-3).
MATHEMATICA
Table[2^n + 7^n + 9^n, {n, 0, 20}]
LinearRecurrence[{18, -95, 126}, {3, 18, 134}, 20] (* Harvey P. Dale, Apr 13 2019 *)
PROG
(Magma) [ 2^n + 7^n + 9^n: n in [0..30]]; // Vincenzo Librandi, Jun 13 2011
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Robert G. Wilson v, Aug 23 2002
STATUS
approved