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

 

Logo

Annual Appeal: Today, Nov 11 2014, is the 4th anniversary of the launch of the new OEIS web site. 70,000 sequences have been added in these four years, all edited by volunteers. Please make a donation (tax deductible in the US) to help keep the OEIS running.

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 | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified November 29 00:06 EST 2014. Contains 250479 sequences.