OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..950
Index entries for linear recurrences with constant coefficients, signature (24,-195,632,-660).
FORMULA
G.f.: 1/((1-2*x)*(1-5*x)*(1-6*x)*(1-11*x)).
a(n) = (1/270)*(1331*11^n - 2916*6^n + 1875*5^n - 20*2^n). - R. J. Mathar, Jun 20 2013
a(n) = 24*a(n-1) - 195*a(n-2) + 632*a(n-3) - 660*a(n-4) for n > 3. - Wesley Ivan Hurt, Jan 05 2017
MAPLE
A025990:=n->(1/270)*(1331*11^n - 2916*6^n + 1875*5^n - 20*2^n): seq(A025990(n), n=0..30); # Wesley Ivan Hurt, Jan 05 2017
MATHEMATICA
CoefficientList[Series[1/((1 - 2 x) (1 - 5 x) (1 - 6 x) (1 - 11 x)), {x, 0, 20}], x] (* Wesley Ivan Hurt, Jan 05 2017 *)
Table[(1/270)*(1331*11^n - 2916*6^n + 1875*5^n - 20*2^n), {n, 0, 50}] (* G. C. Greubel, Jan 05 2017 *)
PROG
(PARI) Vec(1/((1-2*x)*(1-5*x)*(1-6*x)*(1-11*x)) + O(x^50)) \\ G. C. Greubel, Jan 05 2017
(Magma) [(1/270)*(1331*11^n - 2916*6^n + 1875*5^n - 20*2^n) : n in [0..30]]; // Wesley Ivan Hurt, Jan 05 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved