login
This site is supported by donations to The OEIS Foundation.

 

Logo

Annual Appeal: Please make a donation (tax deductible in USA) to keep the OEIS running. Over 5000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".

Hints
(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)
OFFSET

1,1

COMMENTS

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.

LINKS

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

EXAMPLE

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.

CROSSREFS

A006995, A162750

Sequence in context: A174510 A141237 A157399 * A094796 A056843 A076806

Adjacent sequences:  A162746 A162747 A162748 * A162750 A162751 A162752

KEYWORD

base,more,nonn

AUTHOR

Leroy Quet, Jul 12 2009

STATUS

approved

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 December 11 08:51 EST 2016. Contains 279052 sequences.