A361191 Lexicographically earliest sequence of positive integers such that the sums SumXOR_{i = 1+k*2^e..(k+1)*2^e} a(i) with k, e >= 0 are all distinct (where SumXOR is the analog of summation under the binary XOR operation).
1, 2, 4, 8, 5, 11, 6, 16, 7, 10, 9, 21, 18, 32, 19, 64, 20, 33, 25, 49, 26, 34, 27, 65, 30, 35, 31, 66, 36, 71, 37, 105, 38, 67, 39, 108, 41, 68, 42, 128, 43, 69, 44, 116, 45, 70, 51, 176, 52, 72, 57, 129, 58, 73, 59, 118, 60, 78, 63, 130, 74, 132, 80, 256, 81
Offset: 1
Examples
The first terms (at the bottom of the tree) alongside the corresponding sums are: 103 --------------------------------- 23 112 ----------------- ----------------- 15 24 17 97 --------- --------- --------- --------- 3 12 14 22 13 28 50 83 ----- ----- ----- ----- ----- ----- ----- ----- 1 2 4 8 5 11 6 16 7 10 9 21 18 32 19 64
Links
- Rémy Sigrist, Table of n, a(n) for n = 1..8191
- Rémy Sigrist, C++ program
Crossrefs
Cf. A361144.
Comments