login
A029058
Expansion of 1/((1-x)(1-x^3)(1-x^9)(1-x^10)).
0
1, 1, 1, 2, 2, 2, 3, 3, 3, 5, 6, 6, 8, 9, 9, 11, 12, 12, 15, 17, 18, 21, 23, 24, 27, 29, 30, 34, 37, 39, 44, 47, 49, 54, 57, 59, 65, 69, 72, 79, 84, 87, 94, 99, 102, 110, 116, 120, 129, 136, 141, 150, 157, 162, 172, 180
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
Sequence in context: A029059 A035449 A161555 * A046026 A139801 A132328
KEYWORD
nonn,easy
STATUS
approved