Let the binary expansion of n be n = Sum_{k} 2^{r_k}, let e(n) be the number of r_k's that are even, o(n) the number that are odd; sequence gives min{e(n), o(n)}.

A139354

Let the binary expansion of n be n = Sum_{k} 2^{r_k}, let e(n) be the number of r_k's that are even, o(n) the number that are odd; sequence gives min{e(n), o(n)}.

Terms

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

External references