OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..300
Index entries for linear recurrences with constant coefficients, signature (10,-24).
FORMULA
a(n) = 6*a(n-1) + 5*4^(n-1).
a(n) = (7/2)*6^n - (5/2)*4^n.
G.f.: (1+x)/((1-4*x)*(1-6*x)). - Vincenzo Librandi, Aug 06 2013
E.g.f.: exp(4*x)*(7*exp(2*x) - 5). - Stefano Spezia, Jul 23 2024
MATHEMATICA
CoefficientList[Series[(1 + x) / ((1 - 4 x) (1 - 6 x)), {x, 0, 30}], x] (* Vincenzo Librandi, Aug 06 2013 *)
LinearRecurrence[{10, -24}, {1, 11}, 20] (* Harvey P. Dale, Sep 06 2016 *)
PROG
(Magma) [(7/2)*6^n-(5/2)*4^n: n in [0..25]]; // Vincenzo Librandi, Aug 06 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Barry, Mar 03 2003
STATUS
approved