

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

Alois P. Heinz, Table of n, a(n) for n = 0..2000 (first 500 terms from R. H. Hardin)
Index entries for linear recurrences with constant coefficients, signature (1, 1, 0, 1, 0, 1).


FORMULA

G.f. (x^5+x^4+2*x^3+x^2+x+1)/(x^6+x^4+x^2+x1).  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

Sequence in context: A212588 A164392 A164152 * A164151 A281810 A199925
Adjacent sequences: A164387 A164388 A164389 * A164391 A164392 A164393


KEYWORD

nonn,easy


AUTHOR

R. H. Hardin, Aug 14 2009


EXTENSIONS

Edited by Alois P. Heinz, Oct 12 2017


STATUS

approved



