|
Search: id:A164859
|
|
|
| A164859 |
|
a(1)=1. a(n) = the smallest positive integer that, when written in binary, contains both binary a(n-1) and binary n as (possibly overlapping) substrings. |
|
+0 1
|
| |
|
|
OFFSET
|
1,2
|
|
|
EXAMPLE
|
a(6) = 44, which is 101100 in binary. a(7) therefore contains both 101100 and the binary representation of 7, which is 111, as substrings when a(7) is written in binary. So, a(7) = 236, which is 11101100 in binary. (Both substrings share a single digit of 1.)
|
|
CROSSREFS
|
A056744
Sequence in context: A080497 A127724 A056744 this_sequence A152873 A083001 A119862
Adjacent sequences: A164856 A164857 A164858 this_sequence A164860 A164861 A164862
|
|
KEYWORD
|
base,more,nonn
|
|
AUTHOR
|
Leroy Quet (q1qq2qqq3qqqq(AT)yahoo.com), Aug 28 2009
|
|
|
Search completed in 0.002 seconds
|