Simple involution of natural numbers: complement [binary_width(n)/2] least significant bits in the binary expansion of n.
A080261
Simple involution of natural numbers: complement [binary_width(n)/2] least significant bits in the binary expansion of n.
Terms
- a(0) =0a(1) =1a(2) =3a(3) =2a(4) =5a(5) =4a(6) =7a(7) =6a(8) =11a(9) =10a(10) =9a(11) =8a(12) =15a(13) =14a(14) =13a(15) =12a(16) =19a(17) =18a(18) =17a(19) =16a(20) =23a(21) =22a(22) =21a(23) =20a(24) =27a(25) =26a(26) =25a(27) =24a(28) =31a(29) =30
External references
- oeis: A080261