Let S be the concatenation of natural numbers in ternary representation: a(n) = position of first occurrence of n in S, then this occurrence in S is replaced by a(n) in ternary.

A132597

Let S be the concatenation of natural numbers in ternary representation: a(n) = position of first occurrence of n in S, then this occurrence in S is replaced by a(n) in ternary.

Terms

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

External references