login
A025881
Expansion of 1/((1-x^5)*(1-x^6)*(1-x^12)).
6
1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 2, 0, 0, 1, 1, 2, 2, 0, 1, 1, 2, 2, 3, 1, 1, 2, 2, 3, 4, 1, 2, 2, 3, 4, 5, 2, 2, 3, 4, 5, 6, 2, 3, 4, 5, 6, 7, 3, 4, 5, 6, 7, 8, 4, 5, 6, 7, 8, 10, 5, 6, 7, 8, 10, 11, 6, 7, 8, 10, 11, 13, 7, 8, 10, 11, 13, 14, 8, 10, 11, 13
OFFSET
0,13
COMMENTS
a(n) is the number of partitions of n into parts 5, 6, and 12. - Joerg Arndt, Nov 19 2022
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,1,1,0,0,0,0,-1,1,0,0,0,0,-1,-1,0,0,0,0,1).
FORMULA
a(n) = floor((n^2 - 2*n + 145)/720 + (n+12)*((n+5) mod 6)/72). - Hoang Xuan Thanh, Sep 16 2025
MATHEMATICA
CoefficientList[Series[1/((1-x^5)(1-x^6)(1-x^12)), {x, 0, 80}], x] (* Harvey P. Dale, Nov 26 2020 *)
PROG
(Magma) R<x>:=PowerSeriesRing(Rationals(), 90); Coefficients(R!( 1/((1-x^5)*(1-x^6)*(1-x^12)) )); // G. C. Greubel, Nov 18 2022
(SageMath)
def A025881_list(prec):
P.<x> = PowerSeriesRing(ZZ, prec)
return P( 1/((1-x^5)*(1-x^6)*(1-x^12)) ).list()
A025881_list(90) # G. C. Greubel, Nov 18 2022
(PARI) a(n) = (n^2-2*n+145 + 10*(n+12)*((n+5)%6))\720 \\ Hoang Xuan Thanh, Sep 16 2025
CROSSREFS
KEYWORD
nonn,easy
STATUS
approved