|
|
A164390
|
|
Number of binary strings of length n with no substrings equal to 0000 or 0110.
|
|
2
|
|
|
1, 2, 4, 8, 14, 25, 44, 79, 141, 253, 452, 809, 1446, 2587, 4626, 8275, 14799, 26470, 47341, 84673, 151439, 270857, 484436, 866436, 1549652, 2771618, 4957145, 8866056, 15857289, 28361399, 50725485, 90724558, 162264477, 290216490, 519063741, 928366188
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: -(x^5+x^4+2*x^3+x^2+x+1)/(x^6+x^4+x^2+x-1). - R. J. Mathar, Nov 28 2011
|
|
MATHEMATICA
|
LinearRecurrence[{1, 1, 0, 1, 0, 1}, {14, 25, 44, 79, 141, 253}, 50] (* G. C. Greubel, Sep 18 2017 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|