a(0) = 0, and for any n > 0, the binary expansion of n has n digits and starts with the binary expansion of n, say of w digits, and in case n > w, the remaining binary digits in a(n) are those of a(n-w).

A343963

a(0) = 0, and for any n > 0, the binary expansion of n has n digits and starts with the binary expansion of n, say of w digits, and in case n > w, the remaining binary digits in a(n) are those of a(n-w).

Terms

    a(0) =0a(1) =1a(2) =2a(3) =7a(4) =9a(5) =22a(6) =55a(7) =121a(8) =137a(9) =310a(10) =695a(11) =1529a(12) =3209a(13) =6966a(14) =15031a(15) =32249a(16) =34297a(17) =72841a(18) =154422a(19) =326327a(20) =687609a(21) =1410553a(22) =2956425a(23) =6183734a(24) =12909239a(25) =26902009a(26) =55936505a(27) =116202633a(28) =241064758a(29) =499448503

External references