login
Number of binary strings of length n with no substrings equal to 0000 0010 or 1101.
1

%I #12 Apr 04 2024 04:24:37

%S 13,21,33,51,78,118,178,268,403,605,907,1359,2036,3050,4568,6840,

%T 10241,15333,22957,34371,51458,77038,115334,172668,258503,387005,

%U 579383,867391,1298568,1944082,2910476,4357256,6523221,9765877,14620441,21888179

%N Number of binary strings of length n with no substrings equal to 0000 0010 or 1101.

%H R. H. Hardin, <a href="/A164424/b164424.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,0,1,0,-1).

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

%K nonn,easy

%O 4,1

%A _R. H. Hardin_, Aug 14 2009