Balanced ternary enumeration (based on balanced ternary representation) of integers; write n in ternary and then replace 2's with (-1)'s.
A117966
Balanced ternary enumeration (based on balanced ternary representation) of integers; write n in ternary and then replace 2's with (-1)'s.
Terms
- a(0) =0a(1) =1a(2) =-1a(3) =3a(4) =4a(5) =2a(6) =-3a(7) =-2a(8) =-4a(9) =9a(10) =10a(11) =8a(12) =12a(13) =13a(14) =11a(15) =6a(16) =7a(17) =5a(18) =-9a(19) =-8a(20) =-10a(21) =-6a(22) =-5a(23) =-7a(24) =-12a(25) =-11a(26) =-13a(27) =27a(28) =28a(29) =26
External references
- oeis: A117966