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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A147762 a(n) is the smallest positive integer m with exactly n zeros and exactly n ones in its binary representation and with n represented in binary as a substring of the binary representation of m. 2
2, 9, 35, 135, 535, 2103, 8255, 32895, 131711, 525695, 2098687, 8395263, 33561599, 134233087, 536887295, 2147516415, 8590229503, 34360360959, 137439608831, 549758566399, 2199026139135, 8796099051519, 35184378380287 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

EXAMPLE

6 represented in binary is 110. 2103 represented in binary is 100000110111, which contains exactly six 0's and exactly six 1's and contains 110 as a substring (100000{110}111). Since 2103 is the smallest positive integer that satisfies the conditions, then a(6) = 2103.

CROSSREFS

A147760, A147761

Sequence in context: A083141 A001571 A092431 * A077837 A150945 A150946

Adjacent sequences:  A147759 A147760 A147761 * A147763 A147764 A147765

KEYWORD

base,nonn

AUTHOR

Leroy Quet Nov 11 2008

EXTENSIONS

Extended by Ray Chandler (rayjchandler(AT)sbcglobal.net), Nov 15 2008

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 17:35 EST 2012. Contains 206061 sequences.