|
|
A164407
|
|
Number of binary strings of length n with no substrings equal to 0000 0001 or 0010
|
|
1
|
|
|
13, 23, 40, 71, 124, 218, 382, 671, 1177, 2066, 3625, 6362, 11164, 19592, 34381, 60335, 105880, 185807, 326068, 572210, 1004158, 1762175, 3092401, 5426786, 9523345, 16712306, 29328052, 51467144, 90318541, 158497991, 278144584, 488109719
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
4,1
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x^4*(13+10*x+4*x^2+8*x^3)/((1+x)*(1-2*x+x^2-x^3)). - R. J. Mathar, Nov 28 2011
|
|
MATHEMATICA
|
LinearRecurrence[{1, 1, 0, 1}, {13, 23, 40, 71}, 50] (* G. C. Greubel, Sep 19 2017 *)
|
|
PROG
|
(PARI) x='x+O('x^50); Vec(x^4*(13+10*x+4*x^2+8*x^3)/((1+x)*(1-2*x+x^2-x^3))) \\ G. C. Greubel, Sep 19 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|