OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..300
Index entries for linear recurrences with constant coefficients, signature (0,49).
FORMULA
a(n) = (6*7^n + (-7)^n)/7.
G.f.: (1+5*x)/((1+7*x)*(1-7*x)).
E.g.f.: (6*exp(7*x) + exp(-7*x))/7.
MATHEMATICA
LinearRecurrence[{0, 49}, {1, 5}, 30] (* Harvey P. Dale, Oct 12 2018 *)
PROG
(Magma) [(6*7^n+(-7)^n)/7: n in [0..25]]; // Vincenzo Librandi, Jun 29 2011
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Apr 23 2003
STATUS
approved