Derivative of n: write n in binary, replace each pair of adjacent bits with their mod 2 sum (a(0)=a(1)=0 by convention). Also n XOR (n shift 1).

A038554

Derivative of n: write n in binary, replace each pair of adjacent bits with their mod 2 sum (a(0)=a(1)=0 by convention). Also n XOR (n shift 1).

Terms

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

External references