OFFSET
0,7
COMMENTS
a(n) is the number of partitions of n into parts 2, 3, 8, and 9. - Hoang Xuan Thanh, Oct 06 2025
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,1,1,0,-1,0,0,1,1,-1,-2,-1,1,1,0,0,-1,0,1,1,0,-1).
FORMULA
floor((n^3+33*n^2+300*n+1120)/2592 - (n+5)*(n mod 2)/32 + n*((n^2+n+1) mod 3)/27 + ((n+2) mod 3)/3). - Hoang Xuan Thanh, Oct 06 2025
MATHEMATICA
CoefficientList[Series[1/((1-x^2)(1-x^3)(1-x^8)(1-x^9)), {x, 0, 100}], x] (* Jinyuan Wang, Mar 18 2020 *)
LinearRecurrence[{0, 1, 1, 0, -1, 0, 0, 1, 1, -1, -2, -1, 1, 1, 0, 0, -1, 0, 1, 1, 0, -1}, {1, 0, 1, 1, 1, 1, 2, 1, 3, 3, 3, 4, 5, 4, 6, 6, 7, 8, 10, 9, 12, 12}, 60] (* Harvey P. Dale, Jul 21 2024 *)
PROG
(PARI) Vec(1/((1-x^2)*(1-x^3)*(1-x^8)*(1-x^9))+O(x^60)) \\ Hoang Xuan Thanh, Oct 06 2025
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved
