login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 56th year. In the past year we added 10000 new sequences and reached almost 9000 citations (which often say "discovered thanks to the OEIS").
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A053641 Rotate one binary digit to the right, calculate, then rotate one binary digit to the left. 0
1, 1, 3, 1, 5, 3, 7, 1, 9, 3, 11, 5, 13, 7, 15, 1, 17, 3, 19, 5, 21, 7, 23, 9, 25, 11, 27, 13, 29, 15, 31, 1, 33, 3, 35, 5, 37, 7, 39, 9, 41, 11, 43, 13, 45, 15, 47, 17, 49, 19, 51, 21, 53, 23, 55, 25, 57, 27, 59, 29, 61, 31, 63, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

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

FORMULA

a(n) = A006257(A038572(n)), =n if n odd, =n-2^k+1 if n even and 2^k<=n<2^(k+1)

EXAMPLE

a(60)=29 because starting with 111100 the right rotation produces 011110 written as 11110 (i.e. 30) and the left rotation produces 11101 (i.e. 29)

CROSSREFS

Cf. A006257, A038572.

Sequence in context: A161820 A116528 A081431 * A161825 A099551 A211206

Adjacent sequences:  A053638 A053639 A053640 * A053642 A053643 A053644

KEYWORD

nonn

AUTHOR

Henry Bottomley, Mar 22 2000

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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 29 23:37 EST 2020. Contains 338780 sequences. (Running on oeis4.)