A140116 Numbers encoded in an alternate, sometimes more compact, binary system with a third, dual-purpose, prefix/delimiter symbol not always required.
0, 20, 1, 21, 10, 21021, 21020, 210, 11, 1120, 1121, 211210, 11210, 21121, 21120, 211, 100, 10020, 10021, 2100211210, 100210, 210021121, 210021120, 2100211, 100211, 210021021, 210021020, 2100210, 21002120, 210021, 210020, 2100, 101, 10120
Offset: 0
Examples
a(63) = 2101 as 63 = 111111 (base 2) has more 1's than 0's; the leading 1 is in position 5 = 101 (base 2). a(64) = 110 as 64 = 1000000 (base 2) does not have more 1's than 0's; the leading 1 is in position 6 = 110 (base 2). a(65) = 11020 as 65 = 1000001 (base 2) does not have more 1's than 0's; 1's are in positions 6 = 110 (base 2) and 0 = 0 (base 2).
Comments