OFFSET
0,5
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..1000
EXAMPLE
a(6)=8 because 8 binary words of length 6 have at least one substring 101 and no substring 11: 000101, 001010, 010100, 101000, 010101, 101010, 101001, 100101.
MAPLE
a:= n-> coeff(series(x^3/((x^2+x-1)*(x^3+x-1)), x, n+1), x, n):
seq(a(n), n=0..60);
MATHEMATICA
CoefficientList[Series[x^3/((x^2+x-1)*(x^3+x-1)), {x, 0, 50}], x] (* G. C. Greubel, Apr 28 2017 *)
PROG
(PARI) x='x+O('x^50); concat([0, 0, 0], Vec(x^3/((x^2+x-1)*(x^3+x-1)))) \\ G. C. Greubel, Apr 28 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Aug 04 2008
STATUS
approved