Positive part of inverse of A117966; write n in balanced ternary and then replace (-1)'s with 2's.
A117967
Positive part of inverse of A117966; write n in balanced ternary and then replace (-1)'s with 2's.
Terms
- a(0) =0a(1) =1a(2) =5a(3) =3a(4) =4a(5) =17a(6) =15a(7) =16a(8) =11a(9) =9a(10) =10a(11) =14a(12) =12a(13) =13a(14) =53a(15) =51a(16) =52a(17) =47a(18) =45a(19) =46a(20) =50a(21) =48a(22) =49a(23) =35a(24) =33a(25) =34a(26) =29a(27) =27a(28) =28a(29) =32
External references
- oeis: A117967