login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


Least number of binary rotations needed to reach fixed point (with either left or right rotation allowed at each iteration).
1

%I #2 Mar 30 2012 17:38:10

%S 0,0,1,0,1,1,1,0,1,1,2,1,2,2,1,0,1,1,2,1,2,2,2,1,2,2,3,2,2,2,1,0,1,1,

%T 2,1,2,2,2,1,2,2,3,2,3,3,2,1,2,2,3,2,3,3,3,2,3,3,3,3,2,2,1,0,1,1,2,1,

%U 2,2,2,1,2,2,3,2,3,3,2,1,2,2,3,2,3,3,3,2,3,3,4,3,3,4,2,1,2,2,3,2,3,3,3,2,3

%N Least number of binary rotations needed to reach fixed point (with either left or right rotation allowed at each iteration).

%C Fixed points are of the form 2^k-1. Left rotation is A006257, right rotation is A038572. Only-left order is A048881, only-right order is A063250. n for which mixed L/R order beats min of only-left, only-right is A063252.

%e a(22)=2 with 22 right-> 11 left-> 7. (only-left requires 3, only-right requires 4)

%Y A006257, A038572, A048881, A063250, A063252.

%K base,easy,nonn

%O 0,11

%A _Marc LeBrun_, Jul 11 2001

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 20 23:55 EDT 2024. Contains 376078 sequences. (Running on oeis4.)