Self-inverse permutation of integers: swap the odd- and even-positioned digits in the ternary expansion of n, then convert back to decimal.
A163327
Self-inverse permutation of integers: swap the odd- and even-positioned digits in the ternary expansion of n, then convert back to decimal.
Terms
- a(0) =0a(1) =3a(2) =6a(3) =1a(4) =4a(5) =7a(6) =2a(7) =5a(8) =8a(9) =27a(10) =30a(11) =33a(12) =28a(13) =31a(14) =34a(15) =29a(16) =32a(17) =35a(18) =54a(19) =57a(20) =60a(21) =55a(22) =58a(23) =61a(24) =56a(25) =59a(26) =62a(27) =9a(28) =12a(29) =15
External references
- oeis: A163327