a(n) is obtained by flipping every second bit in the binary representation of n starting at the second-most significant bit and on downwards.

A165199

a(n) is obtained by flipping every second bit in the binary representation of n starting at the second-most significant bit and on downwards.

Terms

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

External references