OFFSET
0,6
COMMENTS
Number of partitions of n into parts 1, 5 and 8. - Michel Marcus, Oct 12 2014
LINKS
Index entries for linear recurrences with constant coefficients, signature (1, 0, 0, 0, 1, -1, 0, 1, -1, 0, 0, 0, -1, 1).
FORMULA
a(n)= +a(n-1) +a(n-5) -a(n-6) +a(n-8) -a(n-9) -a(n-13) +a(n-14). - R. J. Mathar, Aug 21 2014
a(n) = floor(n*(n+14)/80+1). - Tani Akinari, Oct 12 2014
MATHEMATICA
CoefficientList[Series[1/((1-x)(1-x^5)(1-x^8)), {x, 0, 80}], x] (* or *) LinearRecurrence[{1, 0, 0, 0, 1, -1, 0, 1, -1, 0, 0, 0, -1, 1}, {1, 1, 1, 1, 1, 2, 2, 2, 3, 3, 4, 4, 4, 5}, 80] (* Harvey P. Dale, Oct 24 2017 *)
PROG
(PARI) Vec(1/((1-x)*(1-x^5)*(1-x^8)) + O(x^100)) \\ Michel Marcus, Oct 12 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved