OFFSET
0,2
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (4,5).
FORMULA
O.g.f.: 6*x/((1+x)*(1-5*x)).
E.g.f.: exp(5*x) - exp(-x).
a(n) = 4*a(n-1) + 5*a(n-2) for n>1.
a(n) = 6*A015531(n).
MATHEMATICA
LinearRecurrence[{4, 5}, {0, 6}, 30] (* Paolo Xausa, Oct 21 2024 *)
PROG
(PARI) concat(0, Vec(6*x/((1+x)*(1-5*x)) + O(x^30)))
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
Colin Barker, Jun 09 2016
STATUS
approved