login
Number of binary strings of length n with no substrings equal to 0001 0101 or 0111.
1

%I #13 Apr 02 2024 04:02:45

%S 13,20,32,48,69,102,148,208,297,424,592,832,1177,1642,2292,3224,4501,

%T 6268,8784,12272,17085,23886,33380,46496,64913,90704,126432,176384,

%U 246385,343634,479268,669224,933725,1302244,1817792,2536752,3538293

%N Number of binary strings of length n with no substrings equal to 0001 0101 or 0111.

%H R. H. Hardin, <a href="/A164470/b164470.txt">Table of n, a(n) for n=4..500</a>

%H <a href="/index/Rec#order_06">Index entries for linear recurrences with constant coefficients</a>, signature (2,-1,2,-3,0,1).

%F G.f.: -x^4*(13-6*x+5*x^2-22*x^3+4*x^4+8*x^5) / ( (x^4+2*x^3-1)*(x-1)^2 ). - _R. J. Mathar_, Jan 19 2011

%K nonn,easy

%O 4,1

%A _R. H. Hardin_, Aug 14 2009