This transfer is possible in two ways: direct transfer and using the decimal system.
first, let\'s make a direct transfer.
Fill in the number with missing zeros on the left
let\'s do a direct translation from binary to hexadecimal like this:
01010101000101012 = 0101 0101 0001 0101 = 0101(=5) 0101(=5) 0001(=1) 0101(=5) = 551516
answer: 01010101000101012 = 551516
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
0∙215+1∙214+0∙213+1∙212+0∙211+1∙210+0∙29+1∙28+0∙27+0∙26+0∙25+1∙24+0∙23+1∙22+0∙21+1∙20 = 0∙32768+1∙16384+0∙8192+1∙4096+0∙2048+1∙1024+0∙512+1∙256+0∙128+0∙64+0∙32+1∙16+0∙8+1∙4+0∙2+1∙1 = 0+16384+0+4096+0+1024+0+256+0+0+0+16+0+4+0+1 = 2178110
got It: 01010101000101012 =2178110
Translate the number 2178110 в hexadecimal like this:
the Integer part of the number is divided by the base of the new number system:
21781 | 16 | | | |
-21776 | 1361 | 16 | | |
5 | -1360 | 85 | 16 | |
| 1 | -80 | 5 | |
| | 5 | | |
|
the result of the conversion was:
2178110 = 551516
answer: 01010101000101012 = 551516