login
A354780
a(n) is the bitwise OR of (the binary expansions of) b(n+1) to b(2*n), where b is A354169.
5
2, 12, 27, 115, 252, 1004, 2013, 4031, 16307, 32631, 65279, 261375, 524270, 2096110, 4194253, 8386527, 16773119, 67096575, 134217659, 536854459, 1073741623, 2147450751, 4294901759, 17179672575, 34359737599, 137438690559, 274877382143, 549754765311, 2199022205950, 4398044412927, 8796093022189, 35184367894509, 70368744175567
OFFSET
1,1
COMMENTS
If the binary expansion of a(n) has a 1 in the 2^i's bit (for any i >= 0) then A354169(2*n+1) must have a 0 in that bit.
A354169(2*n+1) is the smallest number not yet in A354169 which satisfies that condition (this follows at once from the definition of A354169).
This sequence bears the same relation to A354169 as A355057 does to A090252.
LINKS
EXAMPLE
Consider n=6. Then b(7) to b(12) are 32, 64, 12, 128, 256, 512. The bitwise OR of those 6 numbers is 1111101100_2 = 1004_10 = a(6). The bitwise complement of 1004_10 is 10011_2 = 19_10 = A354781(6), and A354169(6) = 17_10 = 10001_2.
On the other hand, for n=5, b(6) to b(10) are 16, 32, 64, 12, 128, whose bitwise OR is 11111100_2 = 252_10 = a(5). The bitwise complement of 252_10 is 3_10 = 11_2 = A354781(5). However, 3 has already appeared in A354169, and the smallest available number whose binary expansion is disjoint from 252_10 = 11111100_2 is 2^8 = 100000000_2 = 256_10 = 2^8 = A354169(5).
CROSSREFS
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Jul 05 2022
STATUS
approved