login
Replace 3^k with (-3)^k in balanced ternary expansion of n.
1

%I #2 Mar 30 2012 17:38:10

%S 1,-4,-3,-2,11,12,13,8,9,10,5,6,7,-34,-33,-32,-37,-36,-35,-40,-39,-38,

%T -25,-24,-23,-28,-27,-26,-31,-30,-29,-16,-15,-14,-19,-18,-17,-22,-21,

%U -20,101,102,103,98,99,100,95,96,97,110,111,112,107,108,109,104,105,106,119,120,121,116,117,118,113

%N Replace 3^k with (-3)^k in balanced ternary expansion of n.

%C Notation: (3)< n >(-3)

%e 5 = +1(9)-1(3)-1(1) -> +1(9)-1(-3)-1(1) = 11 = a(5)

%Y A053985, A065364, A065366, A065369

%K base,easy,sign

%O 1,2

%A _Marc LeBrun_, Oct 31 2001