What are the required steps to convert base 10 decimal system
number 107 308 017 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;
- 107 308 017 ÷ 2 = 53 654 008 + 1;
- 53 654 008 ÷ 2 = 26 827 004 + 0;
- 26 827 004 ÷ 2 = 13 413 502 + 0;
- 13 413 502 ÷ 2 = 6 706 751 + 0;
- 6 706 751 ÷ 2 = 3 353 375 + 1;
- 3 353 375 ÷ 2 = 1 676 687 + 1;
- 1 676 687 ÷ 2 = 838 343 + 1;
- 838 343 ÷ 2 = 419 171 + 1;
- 419 171 ÷ 2 = 209 585 + 1;
- 209 585 ÷ 2 = 104 792 + 1;
- 104 792 ÷ 2 = 52 396 + 0;
- 52 396 ÷ 2 = 26 198 + 0;
- 26 198 ÷ 2 = 13 099 + 0;
- 13 099 ÷ 2 = 6 549 + 1;
- 6 549 ÷ 2 = 3 274 + 1;
- 3 274 ÷ 2 = 1 637 + 0;
- 1 637 ÷ 2 = 818 + 1;
- 818 ÷ 2 = 409 + 0;
- 409 ÷ 2 = 204 + 1;
- 204 ÷ 2 = 102 + 0;
- 102 ÷ 2 = 51 + 0;
- 51 ÷ 2 = 25 + 1;
- 25 ÷ 2 = 12 + 1;
- 12 ÷ 2 = 6 + 0;
- 6 ÷ 2 = 3 + 0;
- 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.
107 308 017(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
107 308 017 (base 10) = 110 0110 0101 0110 0011 1111 0001 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.