OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (24,-190,552,-385).
FORMULA
a(0)=1, a(1)=24, a(2)=386, a(3)=5256; for n>3, a(n) = 24*a(n-1) -190*a(n-2) +552*a(n-3) -385*a(n-4). - Harvey P. Dale, Feb 25 2012
a(n) = 1/240*(-1+5^(3+n)-5*7^(2+n)+11^(2+n)). Harvey P. Dale, Feb 25 2012
MATHEMATICA
CoefficientList[Series[1/((1-x)(1-5x)(1-7x)(1-11x)), {x, 0, 30}], x] (* or *) LinearRecurrence[{24, -190, 552, -385}, {1, 24, 386, 5256}, 30] (* Harvey P. Dale, Feb 25 2012 *)
PROG
(Magma) m:=25; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!(1/((1-x)*(1-5*x)*(1-7*x)*(1-11*x)))); // Vincenzo Librandi, Jul 12 2013
(PARI) x='x+O('x^30); Vec(1/((1-x)*(1-5*x)*(1-7*x)*(1-11*x))) \\ G. C. Greubel, Feb 28 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved