Take n written in binary. Replace the leftmost run of 1's with just a single 1. a(n) is the decimal equivalent of the result.
A163509
Take n written in binary. Replace the leftmost run of 1's with just a single 1. a(n) is the decimal equivalent of the result.
Terms
- a(0) =1a(1) =2a(2) =1a(3) =4a(4) =5a(5) =2a(6) =1a(7) =8a(8) =9a(9) =10a(10) =11a(11) =4a(12) =5a(13) =2a(14) =1a(15) =16a(16) =17a(17) =18a(18) =19a(19) =20a(20) =21a(21) =22a(22) =23a(23) =8a(24) =9a(25) =10a(26) =11a(27) =4a(28) =5a(29) =2
External references
- oeis: A163509