Self-inverse permutation of natural numbers obtained by exchanging the run lengths of adjacent runs of ones and zeros in the binary expansion of n, starting from the most significant run of 1's. (See the example lines).
A166404
Self-inverse permutation of natural numbers obtained by exchanging the run lengths of adjacent runs of ones and zeros in the binary expansion of n, starting from the most significant run of 1's. (See the example lines).
Terms
- a(0) =0a(1) =1a(2) =2a(3) =3a(4) =6a(5) =5a(6) =4a(7) =7a(8) =14a(9) =13a(10) =10a(11) =11a(12) =12a(13) =9a(14) =8a(15) =15a(16) =30a(17) =29a(18) =26a(19) =27a(20) =22a(21) =21a(22) =20a(23) =23a(24) =28a(25) =25a(26) =18a(27) =19a(28) =24a(29) =17
External references
- oeis: A166404