OFFSET
0,10
COMMENTS
Number of partitions of n into parts 3, 7, 8, and 9. - Hoang Xuan Thanh, Apr 09 2026
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,0,1,0,0,0,1,1,1,-1,-1,-1,0,0,-1,-1,-1,1,1,1,0,0,0,1,0,0,-1).
FORMULA
a(n) = floor((2*n^3+81*n^2+768*n+10272)/18144 + ((2*n^2+1) mod 3)*(n+4)/27 + ((6*n^3+5*n^2+n+2) mod 7)/7 - 10*(n mod 3)/81). - Hoang Xuan Thanh, Apr 09 2026
MATHEMATICA
CoefficientList[Series[1/((1-x^3)(1-x^7)(1-x^8)(1-x^9)), {x, 0, 70}], x] (* or *) LinearRecurrence[{0, 0, 1, 0, 0, 0, 1, 1, 1, -1, -1, -1, 0, 0, -1, -1, -1, 1, 1, 1, 0, 0, 0, 1, 0, 0, -1}, {1, 0, 0, 1, 0, 0, 1, 1, 1, 2, 1, 1, 2, 1, 2, 3, 3, 3, 4, 3, 3, 5, 4, 5, 7, 6, 6}, 70] (* Harvey P. Dale, Jun 07 2016 *)
PROG
(PARI) Vec(1/((1-x^3)*(1-x^7)*(1-x^8)*(1-x^9)) + O(x^80)) \\ Hoang Xuan Thanh, Apr 09 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved
