The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A164504 Number of binary strings of length n with no substrings equal to 0011 0101 or 1010. 1
13, 22, 36, 58, 93, 148, 234, 368, 576, 898, 1395, 2160, 3335, 5136, 7891, 12098, 18512, 28276, 43119, 65654, 99826, 151586, 229904, 348290, 527077, 796846, 1203561, 1816264, 2738601, 4126078, 6211884, 9345518, 14050545, 21110920, 31699962 (list; graph; refs; listen; history; text; internal format)
OFFSET
4,1
LINKS
FORMULA
G.f.: -x^4*(-13+4*x-5*x^2+18*x^3+5*x^4+8*x^5) / ( (x^3+x-1)^2 ). - R. J. Mathar, Jan 19 2011
MATHEMATICA
LinearRecurrence[{2, -1, 2, -2, 0, -1}, {13, 22, 36, 58, 93, 148}, 40] (* Harvey P. Dale, Nov 13 2015 *)
CROSSREFS
Sequence in context: A336263 A059408 A164455 * A162245 A159302 A172187
KEYWORD
nonn,easy
AUTHOR
R. H. Hardin, Aug 14 2009
STATUS
approved

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 May 17 15:44 EDT 2024. Contains 372603 sequences. (Running on oeis4.)