Each a(n) is chosen so that n = sum a(k), for all n >= 0, where k is over the distinct nonnegative values of the substrings in binary n.

A165419

Each a(n) is chosen so that n = sum a(k), for all n >= 0, where k is over the distinct nonnegative values of the substrings in binary n.

Terms

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

External references