OFFSET
0,7
COMMENTS
Number of partitions of n into parts 1, 6, 7 and 9. - Hoang Xuan Thanh, Jul 23 2025
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,0,1,0,-1,1,-1,0,0,-1,1,-1,0,1,0,0,0,0,1,-1).
FORMULA
a(n) = floor((2*n^3 + 69*n^2 + 738*n + 5103)/4536 - (n/54)*[(n mod 3)=2] - (1/3)*[(n mod 7) in {3,4,5}]). - Hoang Xuan Thanh, Jul 23 2025
MATHEMATICA
CoefficientList[Series[1/((1-x)(1-x^6)(1-x^7)(1-x^9)), {x, 0, 70}], x] (* Jinyuan Wang, Mar 18 2020 *)
LinearRecurrence[{1, 0, 0, 0, 0, 1, 0, -1, 1, -1, 0, 0, -1, 1, -1, 0, 1, 0, 0, 0, 0, 1, -1}, {1, 1, 1, 1, 1, 1, 2, 3, 3, 4, 4, 4, 5, 6, 7, 8, 9, 9, 11, 12, 13, 15, 16}, 80] (* Harvey P. Dale, Apr 22 2022 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved
