Number of ones in the symmetric signed digit expansion of n with q=2 (i.e., the representation of n in the (-1,0,1)_2 number system).

A085424

Number of ones in the symmetric signed digit expansion of n with q=2 (i.e., the representation of n in the (-1,0,1)_2 number system).

Terms

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

External references