OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (14,-59,70).
FORMULA
From Mohammad K. Azarian, Dec 27 2008: (Start)
G.f.: 1/(1-2*x)+1/(1-5*x)+1/(1-7*x).
E.g.f.: exp(2*x)+exp(5*x)+exp(7*x). (End)
a(n) = 14*a(n-1) - 59*a(n-2) + 70*a(n-3) for n > 2. - Wesley Ivan Hurt, Oct 06 2017
MAPLE
MATHEMATICA
Table[2^n + 5^n + 7^n, {n, 0, 20}]
LinearRecurrence[{14, -59, 70}, {3, 14, 78}, 20] (* Harvey P. Dale, Dec 21 2016 *)
PROG
(Magma) [2^n + 5^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