OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (8,-13,6).
FORMULA
a(n) = (6^(n+1) + 20*n + 19)/25.
E.g.f.: (1/25)*(6*exp(6*x) + (19 + 20*x)*exp(x)). - G. C. Greubel, Aug 18 2023
MATHEMATICA
LinearRecurrence[{8, -13, 6}, {1, 3, 11}, 41] (* G. C. Greubel, Aug 18 2023 *)
PROG
(Magma) [(6^(n+1) +20*n +19)/25: n in [0..40]]; // G. C. Greubel, Aug 18 2023
(SageMath) [(6^(n+1) +20*n +19)/25 for n in range(41)] # G. C. Greubel, Aug 18 2023
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jun 02 2004
STATUS
approved