OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (20,-123,216).
FORMULA
From Mohammad K. Azarian, Dec 30 2008: (Start)
G.f.: 1/(1-3*x) + 1/(1-8*x) + 1/(1-9*x).
E.g.f.: exp(3*x) + exp(8*x) + exp(9*x). (End)
a(n) = 20*a(n-1) - 123*a(n-2) + 216*a(n-3) for n>2. - Wesley Ivan Hurt, Aug 15 2016
MAPLE
MATHEMATICA
Table[3^n + 8^n + 9^n, {n, 0, 20}]
LinearRecurrence[{20, -123, 216}, {3, 20, 154}, 25] (* G. C. Greubel, Aug 15 2016 *)
PROG
(Magma) [3^n + 8^n + 9^n: n in [0..20]]; // Vincenzo Librandi, Aug 24 2011
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Robert G. Wilson v, Aug 23 2002
STATUS
approved