login
A025784
Expansion of 1/((1-x)(1-x^7)(1-x^8)).
1
1, 1, 1, 1, 1, 1, 1, 2, 3, 3, 3, 3, 3, 3, 4, 5, 6, 6, 6, 6, 6, 7, 8, 9, 10, 10, 10, 10, 11, 12, 13, 14, 15, 15, 15, 16, 17, 18, 19, 20, 21, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 37, 38, 39, 40, 41, 42
OFFSET
0,8
COMMENTS
Number of partitions of n into parts 1, 7, and 8. - Alois P. Heinz, Sep 01 2014
LINKS
Index entries for linear recurrences with constant coefficients, signature (1, 0, 0, 0, 0, 0, 1, 0, -1, 0, 0, 0, 0, 0, -1, 1).
FORMULA
a(0)=1, a(1)=1, a(2)=1, a(3)=1, a(4)=1, a(5)=1, a(6)=1, a(7)=2, a(8)=3, a(9)=3, a(10)=3, a(11)=3, a(12)=3, a(13)=3, a(14)=4, a(15)=5, a(n)= a(n-1)+ a(n-7)- a(n-9)-a(n-15)+a(n-16). - Harvey P. Dale, Jul 14 2015
MATHEMATICA
CoefficientList[Series[1/((1-x)(1-x^7)(1-x^8)), {x, 0, 100}], x] (* or *) LinearRecurrence[{1, 0, 0, 0, 0, 0, 1, 0, -1, 0, 0, 0, 0, 0, -1, 1}, {1, 1, 1, 1, 1, 1, 1, 2, 3, 3, 3, 3, 3, 3, 4, 5}, 100] (* Harvey P. Dale, Jul 14 2015 *)
CROSSREFS
Sequence in context: A295977 A089361 A035441 * A035390 A375094 A092938
KEYWORD
nonn,easy
AUTHOR
STATUS
approved