What are the required steps to convert base 10 decimal system
number 4 244 635 783 to base 2 unsigned binary equivalent?
- A number written in base ten, or a decimal system number, is a number written using the digits 0 through 9. A number written in base two, or a binary system number, is a number written using only the digits 0 and 1.
1. Divide the number repeatedly by 2:
Keep track of each remainder.
Stop when you get a quotient that is equal to zero.
- division = quotient + remainder;
- 4 244 635 783 ÷ 2 = 2 122 317 891 + 1;
- 2 122 317 891 ÷ 2 = 1 061 158 945 + 1;
- 1 061 158 945 ÷ 2 = 530 579 472 + 1;
- 530 579 472 ÷ 2 = 265 289 736 + 0;
- 265 289 736 ÷ 2 = 132 644 868 + 0;
- 132 644 868 ÷ 2 = 66 322 434 + 0;
- 66 322 434 ÷ 2 = 33 161 217 + 0;
- 33 161 217 ÷ 2 = 16 580 608 + 1;
- 16 580 608 ÷ 2 = 8 290 304 + 0;
- 8 290 304 ÷ 2 = 4 145 152 + 0;
- 4 145 152 ÷ 2 = 2 072 576 + 0;
- 2 072 576 ÷ 2 = 1 036 288 + 0;
- 1 036 288 ÷ 2 = 518 144 + 0;
- 518 144 ÷ 2 = 259 072 + 0;
- 259 072 ÷ 2 = 129 536 + 0;
- 129 536 ÷ 2 = 64 768 + 0;
- 64 768 ÷ 2 = 32 384 + 0;
- 32 384 ÷ 2 = 16 192 + 0;
- 16 192 ÷ 2 = 8 096 + 0;
- 8 096 ÷ 2 = 4 048 + 0;
- 4 048 ÷ 2 = 2 024 + 0;
- 2 024 ÷ 2 = 1 012 + 0;
- 1 012 ÷ 2 = 506 + 0;
- 506 ÷ 2 = 253 + 0;
- 253 ÷ 2 = 126 + 1;
- 126 ÷ 2 = 63 + 0;
- 63 ÷ 2 = 31 + 1;
- 31 ÷ 2 = 15 + 1;
- 15 ÷ 2 = 7 + 1;
- 7 ÷ 2 = 3 + 1;
- 3 ÷ 2 = 1 + 1;
- 1 ÷ 2 = 0 + 1;
2. Construct the base 2 representation of the positive number:
Take all the remainders starting from the bottom of the list constructed above.
4 244 635 783(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
4 244 635 783 (base 10) = 1111 1101 0000 0000 0000 0000 1000 0111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.