login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A164410
Number of binary strings of length n with no substrings equal to 0000 0001 or 0101
2
13, 22, 38, 64, 108, 184, 312, 528, 896, 1520, 2576, 4368, 7408, 12560, 21296, 36112, 61232, 103824, 176048, 298512, 506160, 858256, 1455280, 2467600, 4184112, 7094672, 12029872, 20398096, 34587440, 58647184, 99443376, 168618256
OFFSET
4,1
FORMULA
G.f.: x^4*(13+9*x+16*x^2)/(1-x-2*x^3). - R. J. Mathar, Nov 30 2011
MATHEMATICA
LinearRecurrence[{1, 0, 2}, {13, 22, 38}, 50] (* G. C. Greubel, Sep 19 2017 *)
PROG
(PARI) x='x+O('x^50); Vec(x^4*(13+9*x+16*x^2)/(1-x-2*x^3)) \\ G. C. Greubel, Sep 19 2017
CROSSREFS
Sequence in context: A164495 A164427 A164456 * A164421 A164493 A164445
KEYWORD
nonn
AUTHOR
R. H. Hardin, Aug 14 2009
STATUS
approved