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!)
A164407 Number of binary strings of length n with no substrings equal to 0000 0001 or 0010 1
13, 23, 40, 71, 124, 218, 382, 671, 1177, 2066, 3625, 6362, 11164, 19592, 34381, 60335, 105880, 185807, 326068, 572210, 1004158, 1762175, 3092401, 5426786, 9523345, 16712306, 29328052, 51467144, 90318541, 158497991, 278144584, 488109719 (list; graph; refs; listen; history; text; internal format)
OFFSET
4,1
LINKS
FORMULA
G.f.: x^4*(13+10*x+4*x^2+8*x^3)/((1+x)*(1-2*x+x^2-x^3)). - R. J. Mathar, Nov 28 2011
MATHEMATICA
LinearRecurrence[{1, 1, 0, 1}, {13, 23, 40, 71}, 50] (* G. C. Greubel, Sep 19 2017 *)
PROG
(PARI) x='x+O('x^50); Vec(x^4*(13+10*x+4*x^2+8*x^3)/((1+x)*(1-2*x+x^2-x^3))) \\ G. C. Greubel, Sep 19 2017
CROSSREFS
Sequence in context: A164491 A164434 A164494 * A259216 A339867 A135283
KEYWORD
nonn
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 March 28 13:42 EDT 2024. Contains 371254 sequences. (Running on oeis4.)