login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A164403 Number of binary strings of length n with no substrings equal to 0010 or 1001 1

%I

%S 14,25,45,80,143,255,455,812,1449,2586,4615,8236,14698,26230,46810,

%T 83537,149080,266048,474789,847308,1512105,2698501,4815742,8594168,

%U 15337143,27370649,48845631,87169861,155563241,277617994,495436776,884155942

%N Number of binary strings of length n with no substrings equal to 0010 or 1001

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

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

%F G.f.: x^4*(14-3*x-5*x^2+4*x^3+8*x^4)/(1-2*x+x^3-x^5). - _R. J. Mathar_, Nov 30 2011

%t LinearRecurrence[{2,0,-1,0,1}, {14, 25, 45, 80, 143}, 50] (* _G. C. Greubel_, Sep 19 2017 *)

%o (PARI) x='x+O('x^50); Vec(x^4*(14-3*x-5*x^2+4*x^3+8*x^4)/(1-2*x+x^3-x^5)) \\ _G. C. Greubel_, Sep 19 2017

%K nonn

%O 4,1

%A _R. H. Hardin_, Aug 14 2009

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 29 22:20 EST 2023. Contains 359931 sequences. (Running on oeis4.)