OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (21,-139,339,-220).
FORMULA
G.f.: 1/((1-x)*(1-4*x)*(1-5*x)*(1-11*x)).
a(n) = -1/120 +2^(2n+6)/21 -5^(n+3)/24 +11^(n+3)/420. - Bruno Berselli, May 08 2013
a(n) = 21*a(n-1) - 139*a(n-2) + 339*a(n-3) - 220*a(n-4). - Wesley Ivan Hurt, Jan 01 2024
MATHEMATICA
CoefficientList[Series[1/((1 - x) (1 - 4 x) (1 - 5 x) (1 - 11 x)), {x, 0, 20}], x] (* Bruno Berselli, May 08 2013 *)
LinearRecurrence[{21, -139, 339, -220}, {1, 21, 302, 3762}, 20] (* Harvey P. Dale, Feb 07 2025 *)
PROG
(PARI) Vec(1/((1-x)*(1-4*x)*(1-5*x)*(1-11*x))+O(x^20)) \\ Bruno Berselli, May 08 2013
(Magma) m:=20; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!(1/((1-x)*(1-4*x)*(1-5*x)*(1-11*x)))); // Bruno Berselli, May 08 2013
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
STATUS
approved