OFFSET
0,2
COMMENTS
a(n)/a(n-1) tends to -7.
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (-1,42).
FORMULA
G.f.: (1+8*x)/(1+x-42*x^2).
a(n) = Sum_{k=0..n} A112555(n,k)*6^k.
a(n) = (14*6^n-(-7)^n)/13. - Klaus Brockhaus, Sep 26 2009
E.g.f.: (14*exp(6*x) - exp(-7*x))/13. - G. C. Greubel, Oct 20 2018
MAPLE
MATHEMATICA
LinearRecurrence[{-1, 42}, {1, 7}, 40] (* G. C. Greubel, Oct 20 2018 *)
PROG
(PARI) vector(40, n, n--; (14*6^n-(-7)^n)/13) \\ G. C. Greubel, Oct 20 2018
(Magma) [(14*6^n-(-7)^n)/13: n in [0..40]]; // G. C. Greubel, Oct 20 2018
CROSSREFS
KEYWORD
easy,sign
AUTHOR
Philippe Deléham, Sep 21 2009
STATUS
approved