OFFSET
0,10
COMMENTS
Number of partitions of n into parts 4, 5, and 9. - Hoang Xuan Thanh, Sep 09 2025
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,0,0,1,1,0,0,0,0,0,0,0,-1,-1,0,0,0,1).
FORMULA
a(n) = floor((n+9)^2/360 + (((2*n^2+1) mod 9) + ((n+8) mod 9) - (n mod 9) + ((n+4) mod 5) - ((n+3) mod 5))/9). - Hoang Xuan Thanh, Sep 09 2025
MATHEMATICA
CoefficientList[Series[1/((1-x^4)(1-x^5)(1-x^9)), {x, 0, 100}], x] (* or *) LinearRecurrence[{0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, -1, -1, 0, 0, 0, 1}, {1, 0, 0, 0, 1, 1, 0, 0, 1, 2, 1, 0, 1, 2, 2, 1, 1, 2}, 100] (* Harvey P. Dale, Aug 01 2021 *)
PROG
(PARI) a(n) = ((n+9)^2 + 40*(((2*n^2+1)%9) + ((n+8)%9) - (n%9) + ((n+4)%5) - ((n+3)%5)))\360 \\ Hoang Xuan Thanh, Sep 09 2025
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved
