login
This site is supported by donations to The OEIS Foundation.

 

Logo

Annual appeal: Please make a donation to keep the OEIS running! Over 6000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A164396 Number of binary strings of length n with no substrings equal to 0001 or 0110 1
14, 24, 41, 70, 120, 205, 350, 597, 1018, 1736, 2960, 5047, 8605, 14671, 25013, 42645, 72706, 123957, 211335, 360306, 614287, 1047300, 1785545, 3044181, 5190033, 8848502, 15085836, 25719884, 43849902, 74759820, 127458225, 217303882 (list; graph; refs; listen; history; text; internal format)
OFFSET

4,1

LINKS

R. H. Hardin, Table of n, a(n) for n=4..500

Index entries for linear recurrences with constant coefficients, signature (2,0,-1,0,1,-1).

FORMULA

G.f.: x^4*(-14+4*x+7*x^2-2*x^3-4*x^4+8*x^5)/((1-x)*(x^5+x^2+x-1)). - R. J. Mathar, Nov 30 2011

MATHEMATICA

LinearRecurrence[{2, 0, -1, 0, 1, -1}, {14, 24, 41, 70, 120, 205}, 50] (* G. C. Greubel, Sep 18 2017 *)

PROG

(PARI) x='x+O('x^50); Vec(x^4*(-14+4*x+7*x^2-2*x^3-4*x^4+8*x^5)/((1-x)*(x^5+x^2+x-1))) \\ G. C. Greubel, Sep 18 2017

CROSSREFS

Sequence in context: A111743 A164402 A164399 * A164404 A164405 A164395

Adjacent sequences:  A164393 A164394 A164395 * A164397 A164398 A164399

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 | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified November 21 07:11 EST 2017. Contains 294996 sequences.