OFFSET
0,5
COMMENTS
a(n) is the number of partitions of n into parts 2, 4, 8, and 11. - Hoang Xuan Thanh, Oct 11 2025
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,1,0,1,0,-1,0,1,0,-1,1,-1,-1,1,-1,0,1,0,-1,0,1,0,1,0,-1).
FORMULA
a(n) = floor((n^3+54*n^2+764*n+4824)/4224 - (n^2+25*n+120)*(n mod 2)/128 + (n+10)*((n^2+n+2) mod 4)/64). - Hoang Xuan Thanh, Oct 11 2025
MATHEMATICA
CoefficientList[Series[1/((1-x^2)(1-x^4)(1-x^8)(1-x^11)), {x, 0, 80}], x] (* or *) LinearRecurrence[{0, 1, 0, 1, 0, -1, 0, 1, 0, -1, 1, -1, -1, 1, -1, 0, 1, 0, -1, 0, 1, 0, 1, 0, -1}, {1, 0, 1, 0, 2, 0, 2, 0, 4, 0, 4, 1, 6, 1, 6, 2, 9, 2, 9, 4, 12, 4, 13, 6, 17}, 80] (* Harvey P. Dale, Jul 13 2015 *)
PROG
(PARI) Vec(1/((1-x^2)*(1-x^4)*(1-x^8)*(1-x^11)) + O(x^70)) \\ Hoang Xuan Thanh, Oct 11 2025
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved
