This is in Binary Code.
I think you mean, what is it in decimal.
010111 is
1 + 10+100 + 10000
2^0 +2^1 + 2^2 + 2^4 =
1 + 2 + 4 +16 =
23 in Decimal.
Chat with our AI personalities
That IS the binary code.
'2' Decimal code => '10' Binary code.
18 in binary is 10010
3 converted into binary code is 00000011
Binary code of 4 is 0100. To get Excess-3 code, add 11(binary code of 3) to binary code of desired number, here it is 4. Hence, Excess-3 Code for 4 is 0111.