OFFSET
0,8
LINKS
Index entries for linear recurrences with constant coefficients, signature (1, 0, 0, 0, 0, 0, 1, -1, 0, 0, 0, 1, -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)=2, a(9)=2, a(10)=2, a(11)=2, a(12)=3, a(13)=3, a(14)=4, a(15)=4, a(16)=4, a(17)=4, a(18)=4, a(19)=5, a(n)=a(n-1)+a(n-7)-a(n-8)+a(n-12)-a(n-13)- a(n-19)+ a(n-20). - Harvey P. Dale, Jul 29 2013
MATHEMATICA
CoefficientList[Series[1/((1-x)(1-x^7)(1-x^12)), {x, 0, 80}], x] (* or *) LinearRecurrence[{1, 0, 0, 0, 0, 0, 1, -1, 0, 0, 0, 1, -1, 0, 0, 0, 0, 0, -1, 1}, {1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 4, 4, 4, 4, 4, 5}, 80] (* Harvey P. Dale, Jul 29 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved