|
Search: id:A147760
|
|
|
| A147760 |
|
a(n) is the smallest positive integer m with exactly n ones in its binary representation and with n represented in binary as a substring of the binary representation of m. |
|
+0 3
|
|
| 1, 5, 7, 39, 47, 111, 127, 1151, 1279, 2815, 3071, 13311, 14335, 30719, 32767, 557055, 589823, 1245183, 1310719, 5505023, 5767167, 12058623, 12582911, 104857599, 109051903, 226492415, 234881023, 973078527, 1006632959, 2080374783
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
LINKS
|
Leroy Quet, Home Page (listed in lieu of email address)
|
|
EXAMPLE
|
6 represented in binary is 110. 111 (decimal) represented in binary is 1101111, which contains exactly six 1's and 110 as a substring ({110}1111). Since 111 is the smallest positive integer that satisfies the conditions, then a(6) = 111.
|
|
CROSSREFS
|
A147761, A147762
Sequence in context: A018353 A081851 A006067 this_sequence A154148 A153376 A167205
Adjacent sequences: A147757 A147758 A147759 this_sequence A147761 A147762 A147763
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
Leroy Quet Nov 11 2008
|
|
EXTENSIONS
|
Extended by Ray Chandler (rayjchandler(AT)sbcglobal.net), Nov 15 2008
|
|
|
Search completed in 0.002 seconds
|