OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..915
Index entries for linear recurrences with constant coefficients, signature (27,-248,900,-1008)
FORMULA
a(n) = (-2^n + 225*6^n - 7^(n+3) + 12^(n+2))/25. - R. J. Mathar, Jun 23 2013
E.g.f.: 1/25 (-exp(2*x) + 225*exp(6*x) - 343*exp(7*x) + 144*exp(12*x)). - G. C. Greubel, Apr 09 2022
MATHEMATICA
CoefficientList[Series[1/((1-2x)(1-6x)(1-7x)(1-12x)), {x, 0, 30}], x] (* Harvey P. Dale, Apr 18 2019 *)
PROG
(Magma) [(-2^n +225*6^n -7^(n+3) +12^(n+2))/25: n in [0..30]]; // G. C. Greubel, Apr 09 2022
(SageMath) [(-2^n +225*6^n -7^(n+3) +12^(n+2))/25 for n in (0..30)] # G. C. Greubel, Apr 09 2022
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved