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:
01000008 = 0 1 0 0 0 0 0 = 0(=000) 1(=001) 0(=000) 0(=000) 0(=000) 0(=000) 0(=000) = 0000010000000000000002
answer: 01000008 = 10000000000000002
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
0∙86+1∙85+0∙84+0∙83+0∙82+0∙81+0∙80 = 0∙262144+1∙32768+0∙4096+0∙512+0∙64+0∙8+0∙1 = 0+32768+0+0+0+0+0 = 3276810
got It: 01000008 =3276810
Translate the number 3276810 в binary like this:
the Integer part of the number is divided by the base of the new number system:
32768 | 2 | | | | | | | | | | | | | | | |
-32768 | 16384 | 2 | | | | | | | | | | | | | | |
0 | -16384 | 8192 | 2 | | | | | | | | | | | | | |
| 0 | -8192 | 4096 | 2 | | | | | | | | | | | | |
| | 0 | -4096 | 2048 | 2 | | | | | | | | | | | |
| | | 0 | -2048 | 1024 | 2 | | | | | | | | | | |
| | | | 0 | -1024 | 512 | 2 | | | | | | | | | |
| | | | | 0 | -512 | 256 | 2 | | | | | | | | |
| | | | | | 0 | -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:
3276810 = 10000000000000002
answer: 01000008 = 10000000000000002