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:
12578 = 1 2 5 7 = 1(=001) 2(=010) 5(=101) 7(=111) = 0010101011112
answer: 12578 = 10101011112
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
1∙83+2∙82+5∙81+7∙80 = 1∙512+2∙64+5∙8+7∙1 = 512+128+40+7 = 68710
got It: 12578 =68710
Translate the number 68710 в binary like this:
the Integer part of the number is divided by the base of the new number system:
687 | 2 | | | | | | | | | |
-686 | 343 | 2 | | | | | | | | |
1 | -342 | 171 | 2 | | | | | | | |
| 1 | -170 | 85 | 2 | | | | | | |
| | 1 | -84 | 42 | 2 | | | | | |
| | | 1 | -42 | 21 | 2 | | | | |
| | | | 0 | -20 | 10 | 2 | | | |
| | | | | 1 | -10 | 5 | 2 | | |
| | | | | | 0 | -4 | 2 | 2 | |
| | | | | | | 1 | -2 | 1 | |
| | | | | | | | 0 | | |
|
the result of the conversion was:
68710 = 10101011112
answer: 12578 = 10101011112