This site is supported by donations to The OEIS Foundation.



(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A162749 Write the n-th (odd) binary palindrome down in binary. If there are an even number of digits, then combine the middle two digits into one digit. If there are an odd number of digits, then double the middle digit. a(n) is the decimal result. 2
3, 1, 9, 15, 5, 7, 33, 45, 51, 63, 17, 21, 27 (list; graph; refs; listen; history; text; internal format)



a(n) is the A162750(n)th (odd) binary palindrome written in decimal. This sequence (A162749) is a permutation of the (odd) positive integers that are each palindromes when written in base 2.


Table of n, a(n) for n=1..13.


The 8th binary palindrome is 21, which is 10101 in binary. Since there are an odd number of digits, double the middle digit to get 101101. a(8) is this written in decimal, which is 45.

51, the 13th palindrome when written in binary, is 110011 when written in base 2. Since this has an even number of digits, combine the middle two digits into one digit to get 11011. a(13) is the decimal equivalent of this, which is 27.


A006995, A162750

Sequence in context: A141237 A157399 A288852 * A094796 A056843 A076806

Adjacent sequences:  A162746 A162747 A162748 * A162750 A162751 A162752




Leroy Quet, Jul 12 2009



Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified July 26 14:39 EDT 2017. Contains 289835 sequences.