OFFSET
0,13
LINKS
Index entries for linear recurrences with constant coefficients, signature (0, 1, 0, 0, 0, 0, 1, 0, -1, 0, 0, 1, 0, -1, 0, 0, 0, 0, -1, 0, 1).
FORMULA
a(0)=1, a(1)=0, a(2)=1, a(3)=0, a(4)=1, a(5)=0, a(6)=1, a(7)=1, a(8)=1, a(9)=1, a(10)=1, a(11)=1, a(12)=2, a(13)=1, a(14)=3, a(15)=1, a(16)=3, a(17)=1, a(18)=3, a(19)=2, a(20)=3, a(n)=a(n-2)+a(n-7)-a(n-9)+ a(n-12)- a(n-14)- a(n-19)+a(n-21). - Harvey P. Dale, Oct 14 2014
MATHEMATICA
CoefficientList[Series[1/((1-x^2)(1-x^7)(1-x^12)), {x, 0, 120}], x] (* or *) LinearRecurrence[{0, 1, 0, 0, 0, 0, 1, 0, -1, 0, 0, 1, 0, -1, 0, 0, 0, 0, -1, 0, 1}, {1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 2, 1, 3, 1, 3, 1, 3, 2, 3}, 120] (* Harvey P. Dale, Oct 14 2014 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved