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
KEYWORD
base,nonn
AUTHOR
Leroy Quet, Aug 28 2009
EXTENSIONS
Extended by Ray Chandler, Mar 14 2010
STATUS
approved