This transfer is possible in two ways: direct transfer and using the decimal system.
first, let\'s make a direct transfer.
let\'s do a direct translation from hexadecimal to binary like this:
020116 = 0 2 0 1 = 0(=0000) 2(=0010) 0(=0000) 1(=0001) = 10000000012
answer: 020116 = 10000000012
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
0∙163+2∙162+0∙161+1∙160 = 0∙4096+2∙256+0∙16+1∙1 = 0+512+0+1 = 51310
got It: 020116 =51310
Translate the number 51310 в binary like this:
the Integer part of the number is divided by the base of the new number system:
513 | 2 | | | | | | | | | |
-512 | 256 | 2 | | | | | | | | |
1 | -256 | 128 | 2 | | | | | | | |
| 0 | -128 | 64 | 2 | | | | | | |
| | 0 | -64 | 32 | 2 | | | | | |
| | | 0 | -32 | 16 | 2 | | | | |
| | | | 0 | -16 | 8 | 2 | | | |
| | | | | 0 | -8 | 4 | 2 | | |
| | | | | | 0 | -4 | 2 | 2 | |
| | | | | | | 0 | -2 | 1 | |
| | | | | | | | 0 | | |
|
the result of the conversion was:
51310 = 10000000012
answer: 020116 = 10000000012