OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (12,-41,42).
FORMULA
From Mohammad K. Azarian, Dec 27 2008: (Start)
G.f.: 1/(1-2*x) + 1/(1-3*x) + 1/(1-7*x).
E.g.f.: exp(2*x) + exp(3*x) + exp(7*x). (End)
MATHEMATICA
Table[2^n + 3^n + 7^n, {n, 0, 20}]
LinearRecurrence[{12, -41, 42}, {3, 12, 62}, 20] (* Harvey P. Dale, Mar 29 2020 *)
PROG
(Magma) [2^n + 3^n + 7^n: n in [0..25]]; // Vincenzo Librandi, Jun 11 2011
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Robert G. Wilson v, Aug 23 2002
STATUS
approved