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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A139707 Take n in binary. Rotate the binary digits to the right until a 1 once again appears as the leftmost digit. a(n) is result written in binary. 2
1, 10, 11, 100, 110, 101, 111, 1000, 1100, 1010, 1101, 1001, 1110, 1011, 1111, 10000, 11000, 10100, 11001, 10010, 11010, 10101, 11011, 10001, 11100, 10110, 11101, 10011, 11110, 10111, 11111, 100000, 110000, 101000, 110001, 100100, 110010 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

This sequence written in decimal is A139706.

EXAMPLE

For n = 14: 14 = 1110 in binary. Rotate once to the right, getting 0111. The left-most digit is a 0, so rotate again to the right, getting 1011. A 1 is the left-most digit, so stop here. a(n) therefore is 1011 (which is 11 in decimal).

CROSSREFS

Cf. A139706, A139709.

Sequence in context: A136836 A204009 A043681 * A139709 A108779 A171782

Adjacent sequences:  A139704 A139705 A139706 * A139708 A139709 A139710

KEYWORD

nonn,base

AUTHOR

Leroy Quet Apr 30 2008

EXTENSIONS

Extended by Ray Chandler (rayjchandler(AT)sbcglobal.net), Jul 01 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 15 21:56 EST 2012. Contains 205860 sequences.