OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (9,-14).
FORMULA
a(n) = 7*a(n-1) - 2^n = 9*a(n-1) - 14*a(n-2).
From Mohammad K. Azarian, Jan 02 2009: (Start)
G.f.: 1/(1-2*x) + 1/(1-7*x).
E.g.f.: e^(2*x) + e^(7*x). (End)
MATHEMATICA
Table[2^n + 7^n, {n, 0, 25}]
PROG
(Magma) [2^n + 7^n: n in [0..35]]; // Vincenzo Librandi, Apr 30 2011
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Robert G. Wilson v, Aug 25 2002
STATUS
approved