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:
70158 = 7 0 1 5 = 7(=111) 0(=000) 1(=001) 5(=101) = 1110000011012
answer: 70158 = 1110000011012
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
7∙83+0∙82+1∙81+5∙80 = 7∙512+0∙64+1∙8+5∙1 = 3584+0+8+5 = 359710
got It: 70158 =359710
Translate the number 359710 в binary like this:
the Integer part of the number is divided by the base of the new number system:
3597 | 2 | | | | | | | | | | | |
-3596 | 1798 | 2 | | | | | | | | | | |
1 | -1798 | 899 | 2 | | | | | | | | | |
| 0 | -898 | 449 | 2 | | | | | | | | |
| | 1 | -448 | 224 | 2 | | | | | | | |
| | | 1 | -224 | 112 | 2 | | | | | | |
| | | | 0 | -112 | 56 | 2 | | | | | |
| | | | | 0 | -56 | 28 | 2 | | | | |
| | | | | | 0 | -28 | 14 | 2 | | | |
| | | | | | | 0 | -14 | 7 | 2 | | |
| | | | | | | | 0 | -6 | 3 | 2 | |
| | | | | | | | | 1 | -2 | 1 | |
| | | | | | | | | | 1 | | |
|
the result of the conversion was:
359710 = 1110000011012
answer: 70158 = 1110000011012