OFFSET
0,4
COMMENTS
Number of partitions of n into parts 1, 3, 9, and 10. - Joerg Arndt, May 19 2014
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,1,-1,0,0,0,0,1,0,-1,-1,0,1,0,0,0,0,-1,1,0,1,-1).
MATHEMATICA
CoefficientList[Series[1/((1 - x) (1 - x^3) (1 - x^9) (1 - x^10)), {x, 0, 100}], x] (* Wesley Ivan Hurt, Mar 30 2017 *)
PROG
(PARI) a(n)=floor((2*n^3+69*n^2+698*n+3280)/3240+(n\3+1)*(-2)^(n%3\2)/27+[-4, -5, -21, 23, 22, 6, 23, -5, -48][n%9+1]/81) \\ Tani Akinari, May 18 2014
(PARI) Vec(1/((1-x)*(1-x^3)*(1-x^9)*(1-x^10)) + O(x^100)) \\ Michel Marcus, May 19 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved