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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A164394 Number of binary strings of length n with no substrings equal to 0001 or 0100 1
14, 24, 42, 74, 130, 228, 400, 702, 1232, 2162, 3794, 6658, 11684, 20504, 35982, 63144, 110810, 194458, 341250, 598852, 1050912, 1844222, 3236384, 5679458, 9966754, 17490434, 30693572, 53863464, 94523790, 165877688, 291095050, 510836202 (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,1)

FORMULA

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

MATHEMATICA

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

PROG

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

CROSSREFS

Sequence in context: A164400 A164405 A164395 * A211323 A141838 A140499

Adjacent sequences:  A164391 A164392 A164393 * A164395 A164396 A164397

KEYWORD

nonn,changed

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 10:38 EDT 2017. Contains 292518 sequences.