OFFSET
0,11
COMMENTS
a(n) is the number of partitions of n into parts 5, 10, and 11. - Joerg Arndt, Jan 17 2024
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,1,0,0,0,0,1,1,0,0,0,-1,-1,0,0,0,0,-1,0,0,0,0,1).
FORMULA
a(n) = floor((n*(89*n+54) + 10*(n+8)*floor(n/5))/100) - floor((10*n^2 + 7*n - 6)/11). - Hoang Xuan Thanh, Sep 22 2025
MATHEMATICA
CoefficientList[Series[1/((1-x^5)(1-x^10)(1-x^11)), {x, 0, 120}], x] (* Harvey P. Dale, Aug 07 2019 *)
PROG
(Magma) R<x>:=PowerSeriesRing(Integers(), 120); Coefficients(R!( 1/((1-x^5)*(1-x^10)*(1-x^11)) )); // G. C. Greubel, Jan 17 2024
(SageMath)
def A025894_list(prec):
P.<x> = PowerSeriesRing(ZZ, prec)
return P( 1/((1-x^5)*(1-x^10)*(1-x^11)) ).list()
A025894_list(120) # G. C. Greubel, Jan 17 2024
(PARI) a(n) = ((n+10)*(n+60)/1100 - (n+8)*(n%5)/50 + ((10*n^2+7*n+5)%11)/11)\1 \\ Hoang Xuan Thanh, Sep 22 2025
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved
