Most significant bit of n, msb(n); largest power of 2 less than or equal to n; write n in binary and change all but the first digit to zero.

A053644

Most significant bit of n, msb(n); largest power of 2 less than or equal to n; write n in binary and change all but the first digit to zero.

Terms

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

External references