Simple self-inverse permutation: Write n in base 4, then replace each digit '2' with '3' and vice versa, then convert back to decimal.

A163241

Simple self-inverse permutation: Write n in base 4, then replace each digit '2' with '3' and vice versa, then convert back to decimal.

Terms

    a(0) =0a(1) =1a(2) =3a(3) =2a(4) =4a(5) =5a(6) =7a(7) =6a(8) =12a(9) =13a(10) =15a(11) =14a(12) =8a(13) =9a(14) =11a(15) =10a(16) =16a(17) =17a(18) =19a(19) =18a(20) =20a(21) =21a(22) =23a(23) =22a(24) =28a(25) =29a(26) =31a(27) =30a(28) =24a(29) =25

External references