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 octal to binary like this:
32458 = 3 2 4 5 = 3(=011) 2(=010) 4(=100) 5(=101) = 0110101001012
answer: 32458 = 110101001012
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
3∙83+2∙82+4∙81+5∙80 = 3∙512+2∙64+4∙8+5∙1 = 1536+128+32+5 = 170110
got It: 32458 =170110
Translate the number 170110 в binary like this:
the Integer part of the number is divided by the base of the new number system:
1701 | 2 | | | | | | | | | | |
-1700 | 850 | 2 | | | | | | | | | |
1 | -850 | 425 | 2 | | | | | | | | |
| 0 | -424 | 212 | 2 | | | | | | | |
| | 1 | -212 | 106 | 2 | | | | | | |
| | | 0 | -106 | 53 | 2 | | | | | |
| | | | 0 | -52 | 26 | 2 | | | | |
| | | | | 1 | -26 | 13 | 2 | | | |
| | | | | | 0 | -12 | 6 | 2 | | |
| | | | | | | 1 | -6 | 3 | 2 | |
| | | | | | | | 0 | -2 | 1 | |
| | | | | | | | | 1 | | |
|
the result of the conversion was:
170110 = 110101001012
answer: 32458 = 110101001012