OFFSET
0,5
COMMENTS
Number of partitions of n into parts 1, 4, 5 and 10. - Ilya Gutkovskiy, May 17 2017
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,0,1,0,-1,0,0,-1,2,-1,0,0, -1,0,1,0,0,1,-1).
MATHEMATICA
CoefficientList[Series[1/((1 - x)*(1 - x^4)*(1 - x^5)*(1 - x^10)), {x, 0, 50}], x] (* G. C. Greubel, May 17 2017 *)
LinearRecurrence[{1, 0, 0, 1, 0, -1, 0, 0, -1, 2, -1, 0, 0, -1, 0, 1, 0, 0, 1, -1}, {1, 1, 1, 1, 2, 3, 3, 3, 4, 5, 7, 7, 8, 9, 11, 13, 14, 15, 17, 19}, 70] (* Harvey P. Dale, Jan 17 2019 *)
PROG
(PARI) a(n)=round((n+10)*(2*n^2+40*n+129+15*(-1)^n)/2400+(n\5+1)*[2, 0, -1, -1, 0][n%5+1]/10+(n%2)*(-1)^(n\2)/8) \\ Tani Akinari, May 22 2014
(PARI) x='x+O('x^50); Vec(1/((1 - x)*(1 - x^4)*(1 - x^5)*(1 - x^10))) \\ G. C. Greubel, May 17 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved