OFFSET
0,25
COMMENTS
Number of partitions of n into parts 7, 10, and 12. - Hoang Xuan Thanh, Sep 27 2025
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,0,1,0,0,1,0,1,0,0,0,0,-1,0,-1,0,0,-1,0,0,0,0,0,0,1).
FORMULA
a(n) = floor((n^2+36*n+288 - 7*(2*n-29)*(n mod 2))/1680 + ((3*n^2+3*n+3) mod 7)/7 + ((4*n^2+4*n+2 + 4*(n mod 2)*(n+2)) mod 5)/5). - Hoang Xuan Thanh, Sep 27 2025
MATHEMATICA
CoefficientList[Series[1/((1-x^7)(1-x^10)(1-x^12)), {x, 0, 100}], x] (* or *) LinearRecurrence[ {0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, -1, 0, -1, 0, 0, -1, 0, 0, 0, 0, 0, 0, 1}, {1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 2, 0, 1, 1, 1}, 100] (* Harvey P. Dale, Apr 22 2023 *)
PROG
(PARI) a(n) = ((n^2+36*n+288 - 7*(2*n-29)*(n%2))/1680 + ((3*n^2+3*n+3)%7)/7 + ((4*n^2+4*n+2 + 4*(n%2)*(n+2))%5)/5)\1 \\ Hoang Xuan Thanh, Sep 27 2025
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved
