Start with the binary representation of the Catalan constant (A104338, A006752) = 0.91596559... = sum_{i=1..infinity} b(i)/2^i, where b(i)=1,1,1,0,1,0,1,0,0,1,1,1,1.... Then a(n-1)=sum_{i=1..k: sum_{ j = 1..k} b(j)=n} b(i) * 2^(i-1). In words: scan the binary digits of the number, halt at each nonzero binary digit, add a power of 2 corresponding to the place of this digit after the comma, assign current partial sum to a(n), increment n.
A113860
Start with the binary representation of the Catalan constant (A104338, A006752) = 0.91596559... = sum_{i=1..infinity} b(i)/2^i, where b(i)=1,1,1,0,1,0,1,0,0,1,1,1,1.... Then a(n-1)=sum_{i=1..k: sum_{ j = 1..k} b(j)=n} b(i) * 2^(i-1). In words: scan the binary digits of the number, halt at each nonzero binary digit, add a power of 2 corresponding to the place of this digit after the comma, assign current partial sum to a(n), increment n.
Terms
- a(0) =1a(1) =3a(2) =7a(3) =23a(4) =87a(5) =599a(6) =1623a(7) =3671a(8) =7767a(9) =15959a(10) =81495a(11) =343639a(12) =867927a(13) =1916503a(14) =18693719a(15) =152911447a(16) =421346903a(17) =958217815a(18) =2031959639a(19) =4179443287a(20) =12769377879
External references
- oeis: A113860