a(n) = n - (reversal of base-2 digits of n) (and then the result is written in base 10).

A055945

a(n) = n - (reversal of base-2 digits of n) (and then the result is written in base 10).

Terms

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

External references