a(n) = (s(n)-1)/2, where s(n) is the n-th number whose base-2 representation has exactly 3 runs.

A043687

a(n) = (s(n)-1)/2, where s(n) is the n-th number whose base-2 representation has exactly 3 runs.

Terms

    a(0) =2a(1) =4a(2) =5a(3) =6a(4) =8a(5) =9a(6) =11a(7) =12a(8) =13a(9) =14a(10) =16a(11) =17a(12) =19a(13) =23a(14) =24a(15) =25a(16) =27a(17) =28a(18) =29a(19) =30a(20) =32a(21) =33a(22) =35a(23) =39a(24) =47a(25) =48a(26) =49a(27) =51a(28) =55a(29) =56

External references