OFFSET
0,7
COMMENTS
a(n) is the number of partitions of n into parts 2, 3, 7, and 11. - Hoang Xuan Thanh, Oct 05 2025
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,1,1,0,-1,0,1,0,-1,-1,1,1,-1,-1,0,1,0,-1,0,1,1,0,-1).
FORMULA
a(n) = floor((46*n^3+327*n^2+522*n)/504) - floor((n^3+7*n^2+10*n-6)/11). - Hoang Xuan Thanh, Oct 05 2025
MATHEMATICA
CoefficientList[Series[1/((1-x^2)(1-x^3)(1-x^7)(1-x^11)), {x, 0, 60}], x] (* or *) LinearRecurrence[{0, 1, 1, 0, -1, 0, 1, 0, -1, -1, 1, 1, -1, -1, 0, 1, 0, -1, 0, 1, 1, 0, -1}, {1, 0, 1, 1, 1, 1, 2, 2, 2, 3, 3, 4, 4, 5, 6, 6, 7, 8, 9, 9, 11, 12, 13}, 60] (* Harvey P. Dale, Apr 01 2016 *) (* Harvey P. Dale, Apr 01 2016 *)
PROG
(PARI) Vec(1/((1-x^2)*(1-x^3)*(1-x^7)*(1-x^11)) + O(x^60)) \\ Hoang Xuan Thanh, Oct 05 2025
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved
