Define predecessors of n, P(n), to consist of numbers whose binary representation is obtained from that of n by replacing 10 with 01 or changing a final 1 to a 0; then a(0)=1, a(n) = Sum a(P(n)), n>0.

A004065

Define predecessors of n, P(n), to consist of numbers whose binary representation is obtained from that of n by replacing 10 with 01 or changing a final 1 to a 0; then a(0)=1, a(n) = Sum a(P(n)), n>0.

Terms

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

External references