a(n)=(1/2)*Sum{|d(i)-e(i)|} where Sum{d(i)*4^i} is the base 4 representation of n and e(i) are the digits d(i) in reverse order.
A037890
a(n)=(1/2)*Sum{|d(i)-e(i)|} where Sum{d(i)*4^i} is the base 4 representation of n and e(i) are the digits d(i) in reverse order.
Terms
- a(0) =0a(1) =0a(2) =0a(3) =1a(4) =0a(5) =1a(6) =2a(7) =2a(8) =1a(9) =0a(10) =1a(11) =3a(12) =2a(13) =1a(14) =0a(15) =1a(16) =0a(17) =1a(18) =2a(19) =1a(20) =0a(21) =1a(22) =2a(23) =1a(24) =0a(25) =1a(26) =2a(27) =1a(28) =0a(29) =1
External references
- oeis: A037890