OFFSET
0,22
COMMENTS
Number of partitions of n into parts 7, 10, and 11. - Hoang Xuan Thanh, Sep 26 2025
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,0,1,0,0,1,1,0,0,0,0,0,-1,-1,0,0,-1,0,0,0,0,0,0,1).
FORMULA
a(n) = floor((7*n^2+9*n+2)/11) - floor((2*n^2+6)/7) + floor((-7*n^2-16*n+23)/20). - Hoang Xuan Thanh, Sep 26 2025
MATHEMATICA
CoefficientList[Series[1/((1-x^7)(1-x^10)(1-x^11)), {x, 0, 100}], x] (* or *) LinearRecurrence[ {0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, -1, -1, 0, 0, -1, 0, 0, 0, 0, 0, 0, 1}, {1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 2, 1, 0, 1, 1, 0, 1}, 100] (* Harvey P. Dale, Aug 06 2023 *)
PROG
(PARI) a(n) = (n^2+28*n-809)/1540 + ((2*n^2+6)%7)/7 - ((7*n^2+9*n+2)%11)/11 + ((7*n^2+16*n+17)%20)/20 + (n%10==1) \\ Hoang Xuan Thanh, Sep 26 2025
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved
