OFFSET
0,16
COMMENTS
Number of partitions of n into parts 5, 6, and 9. - Hoang Xuan Thanh, Sep 15 2025
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..5000
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,1,1,0,0,1,0,-1,0,0,-1,-1,0,0,0,0,1).
FORMULA
a(n) = floor((n^2+10*n+96)/540 + (n+6)*((n+2) mod 3)/54 + ((3*n^2+3) mod 5)/5). - Hoang Xuan Thanh, Sep 15 2025
MATHEMATICA
CoefficientList[Series[1/((1-x^5)(1-x^6)(1-x^9)), {x, 0, 100}], x] (* or *) LinearRecurrence[{0, 0, 0, 0, 1, 1, 0, 0, 1, 0, -1, 0, 0, -1, -1, 0, 0, 0, 0, 1}, {1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 1, 2, 1, 1, 2, 1}, 100] (* Harvey P. Dale, Jul 29 2021 *)
PROG
(Magma) R<x>:=PowerSeriesRing(Rationals(), 80); Coefficients(R!( 1/((1-x^5)*(1-x^6)*(1-x^9)) )); // G. C. Greubel, Nov 17 2022
(SageMath)
def A025878_list(prec):
P.<x> = PowerSeriesRing(ZZ, prec)
return P( 1/((1-x^5)*(1-x^6)*(1-x^9)) ).list()
A025878_list(80) # G. C. Greubel, Nov 17 2022
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved
