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 1 <= k < n.

A165418

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 1 <= k < n.

Terms

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

External references