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

%I #15 Apr 02 2024 03:58:26

%S 13,21,33,51,79,121,185,283,431,657,1001,1523,2319,3529,5369,8171,

%T 12431,18913,28777,43779,66607,101337,154169,234555,356847,542897,

%U 825961,1256595,1911759,2908521,4424953,6732043,10241999,15581953,23706089

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

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

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

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

%t LinearRecurrence[{1,1,1,-2},{13,21,33,51},40] (* _Harvey P. Dale_, Dec 12 2017 *)

%K nonn,easy

%O 4,1

%A _R. H. Hardin_, Aug 14 2009