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!)
A164395 Number of binary strings of length n with no substrings equal to 0001 or 0101 1
14, 24, 42, 72, 122, 208, 354, 600, 1018, 1728, 2930, 4968, 8426, 14288, 24226, 41080, 69658, 118112, 200274, 339592, 575818, 976368, 1655554, 2807192, 4759930, 8071040, 13685426, 23205288, 39347370, 66718224, 113128802, 191823544 (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,-1,2,-2).

FORMULA

G.f.: 2*x^4*(-7+2*x-4*x^2+8*x^3)/((1-x)*(2*x^3+x-1)). - R. J. Mathar, Dec 01 2011

MATHEMATICA

LinearRecurrence[{2-1, 2, -2}, {14, 24, 42, 72}, 50] (* G. C. Greubel, Sep 18 2017 *)

PROG

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

CROSSREFS

Sequence in context: A164396 A164404 A164405 * A164394 A211323 A141838

Adjacent sequences:  A164392 A164393 A164394 * A164396 A164397 A164398

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 20 04:05 EST 2017. Contains 294959 sequences.