OFFSET
0,10
LINKS
Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, -1, -2, -1, 0, 0, 1, 0, 0, 0, 0,1, 1, 0, 0, 0, -1).
FORMULA
G.f.: 1/((1-x^4)(1-x^5)(1-x^9)(1-x^10)). a(n)=a(n-4)+a(n-5)+a(n-10)-a(n-13)-2*a(n-14)-a(n-15)+a(n-18)+a(n-23)+a(n-24)-a(n-28)=-a(-28-n).
MATHEMATICA
CoefficientList[Series[1/((1-x^4)(1-x^5)(1-x^9)(1-x^10)), {x, 0, 90}], x] (* or *) LinearRecurrence[{0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, -1, -2, -1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, -1}, {1, 0, 0, 0, 1, 1, 0, 0, 1, 2, 2, 0, 1, 2, 3, 2, 1, 2, 4, 4, 4, 2, 4, 5, 6, 5, 4, 6, 8}, 90] (* Harvey P. Dale, Dec 01 2015 *)
PROG
(PARI) a(n)=if(n<-27, -a(-28-n), if(n<0, 0, polcoeff(1/((1-x^4)*(1-x^5)*(1-x^9)*(1-x^10))+x*O(x^n), n)))
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved