a(n) = the n-th positive integer with exactly n zeros and n ones in its binary representation.

A143960

a(n) = the n-th positive integer with exactly n zeros and n ones in its binary representation.

Terms

    a(0) =2a(1) =10a(2) =38a(3) =142a(4) =542a(5) =2110a(6) =8318a(7) =33022a(8) =131582a(9) =525310a(10) =2099198a(11) =8392702a(12) =33562622a(13) =134234110a(14) =536903678a(15) =2147549182a(16) =8590065662a(17) =34360000510a(18) =137439477758a(19) =549756862462

External references