Binary representation of a(n) is obtained thus: replace every digit in the binary representation of n with "1" if the sum of its neighbors is 1 and with "0" otherwise.

A067585

Binary representation of a(n) is obtained thus: replace every digit in the binary representation of n with "1" if the sum of its neighbors is 1 and with "0" otherwise.

Terms

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

External references