OFFSET
0,16
COMMENTS
Number of partitions of n into parts 4, 5, and 11. - Hoang Xuan Thanh, Sep 09 2025
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,0,0,1,1,0,0,0,-1,0,1,0,0,0,-1,-1,0,0,0,1).
FORMULA
a(n) = floor((n^2+20*n)/440 + ((3*n^2+5*n+5) mod 11)/11 + ((3*n^2+3) mod 5)/5). - Hoang Xuan Thanh, Sep 09 2025
MATHEMATICA
CoefficientList[Series[1/((1-x^4)(1-x^5)(1-x^11)), {x, 0, 80}], x] (* Harvey P. Dale, Jun 14 2017 *)
(* Alternative: *)
LinearRecurrence[{0, 0, 0, 1, 1, 0, 0, 0, -1, 0, 1, 0, 0, 0, -1, -1, 0, 0, 0, 1}, {1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 2}, 80] (* Harvey P. Dale, Jun 14 2017 *)
PROG
(PARI) a(n) = (n^2+20*n+160 + 40*(((3*n^2+5*n+5)%11) + ((n+3)%5)-((n+1)%5)))\440 \\ Hoang Xuan Thanh, Sep 09 2025
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved
