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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A164143 Number of binary strings of length n with equal numbers of 001 and 100 substrings 1
1, 2, 4, 6, 10, 20, 40, 80, 160, 320, 640, 1280, 2560, 5120, 10240, 20480, 40960, 81920, 163840, 327680, 655360, 1310720, 2621440, 5242880, 10485760, 20971520, 41943040, 83886080, 167772160, 335544320, 671088640, 1342177280, 2684354560, 5368709120 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

LINKS

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

PROG

(Empirical) (bc) (z is number of 0s) z=2; for(i=0; i<=500; i++) { if(i<=z)a=2^i else if(i<=2*z)a=2*a-2 else a=2*a; a }

CROSSREFS

Sequence in context: A034872 A032362 A176716 * A095007 A005194 A171447

Adjacent sequences:  A164140 A164141 A164142 * A164144 A164145 A164146

KEYWORD

nonn

AUTHOR

R. H. Hardin (rhhardin(AT)att.net) Aug 11 2009

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 03:45 EST 2012. Contains 205978 sequences.