OFFSET
0,5
COMMENTS
a(n) is the number of partitions of n into parts 2, 4, and 5. - Hoang Xuan Thanh, Jun 18 2025
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,1,0,1,1,-1,-1,0,-1,0,1).
FORMULA
From R. J. Mathar, Jun 23 2021: (Start)
a(n)-a(n-2) = A165190(n).
a(n)-a(n-4) = A008616(n). (End)
a(n) = floor((n^2 + n*(11+5*(-1)^n) + 53 + 27*(-1)^n)/80). - Hoang Xuan Thanh, Jun 18 2025
MATHEMATICA
CoefficientList[Series[1/((1-x^2)(1-x^4)(1-x^5)), {x, 0, 70}], x] (* Harvey P. Dale, Sep 15 2011 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved
