a(n) is the smallest positive integer k that when written in binary, and leading 0's of k are ignored, contains the reversal of the digits of binary n.

A165789

a(n) is the smallest positive integer k that when written in binary, and leading 0's of k are ignored, contains the reversal of the digits of binary n.

Terms

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

External references