OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (10,-24).
FORMULA
G.f.: (1+15*x)/((1-4*x)*(1-6*x)).
a(n) = 21*6^n/2 - 19*4^n/2.
MATHEMATICA
CoefficientList[Series[(1 + 15 x)/((1 - 4 x) (1 - 6 x)), {x, 0, 300}], x] (* Vincenzo Librandi, Aug 07 2013 *)
LinearRecurrence[{10, -24}, {1, 25}, 30] (* Harvey P. Dale, Apr 23 2020 *)
PROG
(Magma) [21*6^n/2-19*4^n/2: n in [0..25]]; // Vincenzo Librandi, Aug 07 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Barry, Mar 11 2003
STATUS
approved