login
A025848
Expansion of 1/((1-x^3)*(1-x^7)*(1-x^11)).
0
1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 2, 1, 1, 2, 2, 1, 2, 3, 2, 2, 3, 3, 2, 3, 4, 3, 3, 4, 4, 4, 4, 5, 5, 4, 5, 6, 5, 5, 7, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9, 10, 10, 10, 10, 11, 11, 11, 12, 12, 12, 13, 13, 13, 14, 14, 14, 15
OFFSET
0,15
COMMENTS
Number of partitions of n into parts 3, 7, and 11. - Hoang Xuan Thanh, Sep 06 2025
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,0,1,0,0,0,1,0,0,-1,1,0,0,-1,0,0,0,-1,0,0,1).
FORMULA
a(n) = floor((n^2 + 21*n + 135)/462 + (5/42)*(((n+2) mod 3) - (n mod 3)) + ((2*n^2 + 6) mod 7)/7). - Hoang Xuan Thanh, Sep 06 2025
MATHEMATICA
CoefficientList[Series[1/((1-x^3)(1-x^7)(1-x^11)), {x, 0, 80}], x] (* or *) LinearRecurrence[{0, 0, 1, 0, 0, 0, 1, 0, 0, -1, 1, 0, 0, -1, 0, 0, 0, -1, 0, 0, 1}, {1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 2, 1, 1, 2, 2, 1, 2}, 80] (* Harvey P. Dale, Aug 28 2017 *)
PROG
(PARI) a(n)= (n^2 + 21*n + 135 + 55*((n+2)%3-n%3) + 66*((2*n^2+6)%7)) \462 \\ Hoang Xuan Thanh, Sep 06 2025
CROSSREFS
Sequence in context: A278341 A276520 A242062 * A268197 A065382 A066888
KEYWORD
nonn,easy
STATUS
approved