a(n) = the (decimal equivalent of the) smallest integer that can be made by rotating the binary digits of n any number of positions to the left or right. a(n) in binary may contain fewer digits, after leading 0's are removed, than n written in binary has.

A163381

a(n) = the (decimal equivalent of the) smallest integer that can be made by rotating the binary digits of n any number of positions to the left or right. a(n) in binary may contain fewer digits, after leading 0's are removed, than n written in binary has.

Terms

    a(0) =1a(1) =1a(2) =3a(3) =1a(4) =3a(5) =3a(6) =7a(7) =1a(8) =3a(9) =5a(10) =7a(11) =3a(12) =7a(13) =7a(14) =15a(15) =1a(16) =3a(17) =5a(18) =7a(19) =5a(20) =11a(21) =11a(22) =15a(23) =3a(24) =7a(25) =11a(26) =15a(27) =7a(28) =15a(29) =15

External references