This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A366062 #7 Oct 02 2023 13:49:11 %S A366062 0,2,4,1,3,8,5,9,16,14,10,20,6,11,17,18,21,19,32,28,12,13,33,56,24,29, %T A366062 34,26,22,36,25,48,57,49,50,40,58,41,51,35,64,7,15,65,37,80,59,66,52, %U A366062 27,67,96,112,30,23,128,60,53,81,97,113,98,104,114,105,99 %N A366062 Lexicographically earliest infinite sequence of distinct nonnegative integers such that for any k > 0, the k-th binary digit in the even bisection is different from the k-th binary digit in the odd bisection. %C A366062 Leading zeros in binary expansions of positive values are ignored. %C A366062 Is this sequence a permutation of the nonnegative integers? %H A366062 Rémy Sigrist, <a href="/A366062/a366062.gp.txt">PARI program</a> %e A366062 The even and odd bisections, in decimal and in binary, begin as follows: %e A366062 a(2n) |0| 4 | 3 | 5 | 16 | 10 | 6 | 17 | 21 |... %e A366062 bin(a(2n)) |0|1 0 0|1 1|1 0 1|1 0 0 0 0|1 0 1 0|1 1 0|1 0 0 0 1|1 0 1 0 1|... %e A366062 bin(a(2n+1)) |1 0|1|1 0 0 0|1 0 0 1|1 1 1 0|1 0 1 0 0|1 0 1 1|1 0 0 1 0|... %e A366062 a(2n+1) | 2 |1| 8 | 9 | 14 | 20 | 11 | 18 |... %o A366062 (PARI) See Links section. %Y A366062 Cf. A333010. %K A366062 nonn,base %O A366062 0,2 %A A366062 _Rémy Sigrist_, Sep 27 2023