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.
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.
Terms
- a(0) =1a(1) =10a(2) =11a(3) =100a(4) =110a(5) =101a(6) =111a(7) =1000a(8) =1100a(9) =1010a(10) =1101a(11) =1001a(12) =1110a(13) =1011a(14) =1111a(15) =10000a(16) =11000a(17) =10100a(18) =11001a(19) =10010a(20) =11010a(21) =10101a(22) =11011a(23) =10001a(24) =11100a(25) =10110a(26) =11101a(27) =10011a(28) =11110a(29) =10111
External references
- oeis: A139707