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”).

Number of binary strings of length n with equal numbers of 00100 and 01010 substrings
1

%I #4 Mar 31 2012 12:35:34

%S 1,2,4,8,16,30,56,105,197,373,710,1352,2576,4910,9368,17905,34280,

%T 65733,126226,242706,467270,900765,1738620,3359985,6501187,12593642,

%U 24422809,47414223,92145544,179257296,349059926,680342449,1327221777,2591385384

%N Number of binary strings of length n with equal numbers of 00100 and 01010 substrings

%H R. H. Hardin, <a href="/A164237/b164237.txt">Table of n, a(n) for n=0..500</a>

%K nonn

%O 0,2

%A _R. H. Hardin_ Aug 11 2009