OFFSET
0,5
COMMENTS
a(n) is the number of partitions of n into parts 2, 4, and 7. - Hoang Xuan Thanh, Jun 18 2025
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,1,0,1,0,-1,1,0,-1,0,-1,0,1).
FORMULA
a(n) = floor((n^2 + n*(13+7*(-1)^n) + 90 + 50*(-1)^n)/112). - Hoang Xuan Thanh, Jun 18 2025
MATHEMATICA
CoefficientList[Series[1/((1-x^2)(1-x^4)(1-x^7)), {x, 0, 100}], x] (* Harvey P. Dale, Jan 17 2021 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved
