a(n) = smallest positive integer, not occurring earlier in the sequence and not equal to n, that has the same number of (non-leading) 0's in its binary representation as n.
A112411
a(n) = smallest positive integer, not occurring earlier in the sequence and not equal to n, that has the same number of (non-leading) 0's in its binary representation as n.
Terms
- a(0) =3a(1) =5a(2) =1a(3) =9a(4) =2a(5) =11a(6) =15a(7) =17a(8) =4a(9) =12a(10) =6a(11) =10a(12) =14a(13) =13a(14) =7a(15) =33a(16) =8a(17) =20a(18) =21a(19) =18a(20) =19a(21) =25a(22) =27a(23) =35a(24) =22a(25) =28a(26) =23a(27) =26a(28) =30a(29) =29
External references
- oeis: A112411