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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A165789 a(n) = 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. 0
1, 5, 3, 9, 5, 11, 7, 17, 9, 21, 13, 19, 11, 23, 15, 33, 17, 41, 25, 37, 21, 45, 29, 35, 19, 43, 27, 39, 23, 47, 31, 65, 33, 81, 49, 73, 41, 89, 57, 69, 37, 85, 53, 77, 45, 93, 61, 67, 35, 83, 51, 75, 43, 91, 59, 71, 39, 87, 55, 79, 47, 95, 63, 129, 65, 161, 97, 145, 81, 177, 113 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

a(2n-1) = A030101(2n-1), for all n >=1. a(2n) = A030101(2n) + 2^(floor(log(n)/log(2))+2), for all n>=1.

CROSSREFS

A030101

Sequence in context: A107449 A155496 A128426 * A133090 A145800 A161501

Adjacent sequences:  A165786 A165787 A165788 * A165790 A165791 A165792

KEYWORD

base,nonn

AUTHOR

Leroy Quet, Sep 26 2009

EXTENSIONS

More terms from Sean A. Irvine (sairvin(AT)xtra.co.nz), Dec 08 2009

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

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

Last modified February 16 20:38 EST 2012. Contains 205962 sequences.