OFFSET
0,3
COMMENTS
Number of partitions of n into parts 1, 2, 4 and 7. - Ilya Gutkovskiy, May 13 2017
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,1,-1,1,-1,-1,2,-1,-1,1,-1,1,1,-1).
FORMULA
a(n) = a(n-1)+a(n-2)-a(n-3)+a(n-4)-a(n-5)-a(n-6)+2*a(n-7)-a(n-8)-a(n-9)+a(n-10)-a(n-11)+a(n-12)+a(n-13)-a(n-14). - Wesley Ivan Hurt, May 27 2021
MATHEMATICA
CoefficientList[Series[1/((1-x)(1-x^2)(1-x^4)(1-x^7)), {x, 0, 60}], x] (* or *) LinearRecurrence[{1, 1, -1, 1, -1, -1, 2, -1, -1, 1, -1, 1, 1, -1}, {1, 1, 2, 2, 4, 4, 6, 7, 10, 11, 14, 16, 20, 22}, 60] (* Harvey P. Dale, Aug 11 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved