A353728 A115510(n) written in base 2.
1, 11, 10, 110, 100, 101, 111, 1001, 1000, 1010, 1011, 1100, 1101, 1110, 1111, 10001, 10000, 10010, 10011, 10100, 10101, 10110, 10111, 11000, 11001, 11010, 11011, 11100, 11101, 11110, 11111, 100001, 100000, 100010, 100011, 100100, 100101, 100110, 100111, 101000, 101001, 101010, 101011, 101100, 101101, 101110, 101111
Offset: 1
Programs
-
Python
from itertools import islice def A353728_gen(): # generator of terms yield 1 l1, s, b = 1, 2, set() while True: i = s while True: if i & l1 and not i in b: yield int(bin(i)[2:]) l1 = i b.add(i) while s in b: b.remove(s) s += 1 break i += 1 A353728_list = list(islice(A353728_gen(),30)) # Chai Wah Wu, May 13 2022