In binary expansion of n: reduce contiguous blocks of 1's to 1.

A090077

In binary expansion of n: reduce contiguous blocks of 1's to 1.

Terms

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

External references