The OEIS is supported by the many generous donors to the OEIS Foundation.

`%I #9 Mar 21 2023 15:03:48
`

`%S 0,1,2,3,4,7,5,6,8,15,9,14,10,11,12,13,16,31,17,30,18,19,28,29,20,23,
`

`%T 24,27,21,22,25,26,32,63,33,62,34,35,60,61,36,39,56,59,37,38,57,58,40,
`

`%U 47,48,55,41,46,49,54,42,43,44,45,50,51,52,53,64,127,65
`

`%N Distinct values of A361644, in order of appearance.
`

`%C This sequence is a permutation of the nonnegative integers with inverse A361647 (and the offset equals 0 on purpose).
`

`%H Rémy Sigrist, <a href="/A361646/b361646.txt">Table of n, a(n) for n = 0..8191</a>
`

`%H Rémy Sigrist, <a href="/A361646/a361646.gp.txt">PARI program</a>
`

`%H <a href="/index/Bi#binary">Index entries for sequences related to binary expansion of n</a>
`

`%H <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>
`

`%F a(n) < 2^k iff n < 2^k.
`

`%o (PARI) See Links section.
`

`%Y Cf. A361644, A361647 (inverse).
`

`%K nonn,base
`

`%O 0,3
`

`%A _Rémy Sigrist_, Mar 19 2023
`