Take n in binary. Rotate the binary digits to the left until a 1 once again appears as the leftmost digit. Convert back into decimal for a(n).
A139708
Take n in binary. Rotate the binary digits to the left until a 1 once again appears as the leftmost digit. Convert back into decimal for a(n).
Terms
- a(0) =1a(1) =2a(2) =3a(3) =4a(4) =6a(5) =5a(6) =7a(7) =8a(8) =12a(9) =10a(10) =14a(11) =9a(12) =11a(13) =13a(14) =15a(15) =16a(16) =24a(17) =20a(18) =28a(19) =18a(20) =22a(21) =26a(22) =30a(23) =17a(24) =19a(25) =21a(26) =23a(27) =25a(28) =27a(29) =29
External references
- oeis: A139708