A235262 Lexicographically earliest sequence of distinct positive integers such that the derived sequence (b(n)) = (a(n) XOR a(n+1)) contains only distinct terms (XOR stands for the binary XOR operator).
1, 2, 3, 4, 6, 8, 5, 9, 12, 7, 13, 11, 15, 16, 10, 17, 24, 14, 18, 26, 21, 32, 19, 33, 22, 34, 20, 36, 25, 35, 27, 37, 28, 39, 48, 23, 38, 50, 29, 49, 31, 52, 30, 51, 42, 55, 41, 56, 40, 58, 47, 60, 64, 43, 65, 44, 66, 45, 53, 67, 54, 68, 57, 70, 46, 71, 61
Offset: 1
Keywords
Links
- Paul Tek, Table of n, a(n) for n = 1..10000
- Paul Tek, PERL program for this sequence
Programs
-
Perl
See Link section.