OFFSET
0,8
COMMENTS
Number of partitions of n into parts 1, 7, 9, and 12. - Michel Marcus, Aug 04 2025
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,0,0,1,-1,1,-1,0,1,-1,0,0,-1,1,0,-1,1,-1,1,0,0,0,0,0,1,-1).
FORMULA
a(n) = floor((2*n^3 + 87*n^2 + 1152*n + 9127)/9072 - (n/108)*[(n mod 3)=2] + (1/6)*([(n mod 7)=0] - [(n mod 7)in{4,6}])). - Hoang Xuan Thanh, Aug 04 2025
MATHEMATICA
CoefficientList[Series[1/((1-x)(1-x^7)(1-x^9)(1-x^12)), {x, 0, 60}], x] (* or *) LinearRecurrence[{1, 0, 0, 0, 0, 0, 1, -1, 1, -1, 0, 1, -1, 0, 0, -1, 1, 0, -1, 1, -1, 1, 0, 0, 0, 0, 0, 1, -1}, {1, 1, 1, 1, 1, 1, 1, 2, 2, 3, 3, 3, 4, 4, 5, 5, 6, 6, 7, 8, 8, 10, 10, 11, 12, 13, 14, 15, 17}, 60] (* Harvey P. Dale, Aug 03 2017 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
a(61)-a(69) from Hoang Xuan Thanh, Aug 04 2025
STATUS
approved
