Take the rightmost three binary digits of n (for n<4 padded with leading zeros) and rotate right 1 digit.

A080414

Take the rightmost three binary digits of n (for n<4 padded with leading zeros) and rotate right 1 digit.

Terms

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

External references