OFFSET
0,13
COMMENTS
Number of partitions of n into parts 4, 6, 7, and 9. - Hoang Xuan Thanh, May 09 2026
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,0,0,1,0,1,1,0,1,-1,-1,0,-2,0,-1,-1,1,0,1,1,0,1,0,0,0,-1).
FORMULA
a(n) = floor((n^3+39*n^2+612*n+6480)/9072 - (n mod 2)*n/48 - ((2*n^2+n) mod 3)*n/54 + ((6*n^3+3*n^2+4*n+2) mod 7)/7). - Hoang Xuan Thanh, May 09 2026
MATHEMATICA
CoefficientList[Series[1/((1-x^4)(1-x^6)(1-x^7)(1-x^9)), {x, 0, 70}], x] (* Harvey P. Dale, Nov 24 2017 *)
(* Alternative: *)
LinearRecurrence[{0, 0, 0, 1, 0, 1, 1, 0, 1, -1, -1, 0, -2, 0, -1, -1, 1, 0, 1, 1, 0, 1, 0, 0, 0, -1}, {1, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 2, 4, 3, 4, 4, 5, 4, 6, 6}, 70] (* Harvey P. Dale, Nov 24 2017 *)
PROG
(PARI) Vec(1/((1-x^4)*(1-x^6)*(1-x^7)*(1-x^9)) + O(x^80)) \\ Jinyuan Wang, Feb 28 2020
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved
