OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (25,-209,647,-462).
FORMULA
a(0)=1, a(1)=25, a(2)=416, a(3)=5822, a(n)=25*a(n-1)-209*a(n-2)+ 647*a(n-3)- 462*a(n-4) [Harvey P. Dale, Mar 24 2012]
a(n) = (3*11^(n+3) - 25*7^(n+3) + 24*6^(n+3) - 2)/600. [Yahia Kahloune, Jun 29 2013]
MATHEMATICA
CoefficientList[Series[1 / ((1 - x) (1 - 6 x) (1 - 7 x) (1 - 11 x)), {x, 0, 30}], x] (* or *) LinearRecurrence[{25, -209, 647, -462}, {1, 25, 416, 5822}, 30] (* Harvey P. Dale, Mar 24 2012 *)
PROG
(Magma) m:=25; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!(1/((1-x)*(1-6*x)*(1-7*x)*(1-11*x)))); /* or */ I:=[1, 25, 416, 5822]; [n le 4 select I[n] else 25*Self(n-1)-209*Self(n-2)+647*Self(n-3)-462*Self(n-4): n in [1..25]]; // Vincenzo Librandi, Jul 13 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved