a(0) = a(1) = 1. For n >=2, a(n) = sum a(k), where k is over the distinct values of the substrings in binary n, and where 0 <= k < n.

A165417

a(0) = a(1) = 1. For n >=2, a(n) = sum a(k), where k is over the distinct values of the substrings in binary n, and where 0 <= k < n.

Terms

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

External references