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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A164388 Number of binary strings of length n with no substrings equal to 0000 or 0011 1
14, 25, 45, 80, 142, 253, 450, 800, 1423, 2531, 4501, 8005, 14237, 25320, 45031, 80087, 142433, 253314, 450514, 801230, 1424971, 2534282, 4507169, 8015908, 14256129, 25354235, 45091990, 80195185, 142625502, 253656548, 451123000, 802313060 (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 (1,1,1,0,-1).

FORMULA

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

a(4)=14, a(5)=25, a(6)=45, a(7)=80, a(8)=142, a(n)=a(n-1)+a(n-2)+a(n-3))-a(n-5). - Harvey P. Dale, Feb 15 2013

MATHEMATICA

LinearRecurrence[{1, 1, 1, 0, -1}, {14, 25, 45, 80, 142}, 40] (* Harvey P. Dale, Feb 15 2013 *)

CROSSREFS

Sequence in context: A164391 A164392 A164390 * A164403 A164389 A164401

Adjacent sequences:  A164385 A164386 A164387 * A164389 A164390 A164391

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 September 26 06:54 EDT 2017. Contains 292502 sequences.