a(n) is the smallest positive integer that is a palindrome when represented in binary, and is made by appending some number (zero or more) of binary digits on the right of n's binary representation.

A161501

a(n) is the smallest positive integer that is a palindrome when represented in binary, and is made by appending some number (zero or more) of binary digits on the right of n's binary representation.

Terms

    a(0) =1a(1) =5a(2) =3a(3) =9a(4) =5a(5) =27a(6) =7a(7) =17a(8) =9a(9) =21a(10) =45a(11) =51a(12) =27a(13) =119a(14) =15a(15) =33a(16) =17a(17) =73a(18) =153a(19) =165a(20) =21a(21) =45a(22) =93a(23) =99a(24) =51a(25) =107a(26) =27a(27) =231a(28) =119a(29) =495

External references