What are the required steps to convert base 10 decimal system
number 109 999 407 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;
- 109 999 407 ÷ 2 = 54 999 703 + 1;
- 54 999 703 ÷ 2 = 27 499 851 + 1;
- 27 499 851 ÷ 2 = 13 749 925 + 1;
- 13 749 925 ÷ 2 = 6 874 962 + 1;
- 6 874 962 ÷ 2 = 3 437 481 + 0;
- 3 437 481 ÷ 2 = 1 718 740 + 1;
- 1 718 740 ÷ 2 = 859 370 + 0;
- 859 370 ÷ 2 = 429 685 + 0;
- 429 685 ÷ 2 = 214 842 + 1;
- 214 842 ÷ 2 = 107 421 + 0;
- 107 421 ÷ 2 = 53 710 + 1;
- 53 710 ÷ 2 = 26 855 + 0;
- 26 855 ÷ 2 = 13 427 + 1;
- 13 427 ÷ 2 = 6 713 + 1;
- 6 713 ÷ 2 = 3 356 + 1;
- 3 356 ÷ 2 = 1 678 + 0;
- 1 678 ÷ 2 = 839 + 0;
- 839 ÷ 2 = 419 + 1;
- 419 ÷ 2 = 209 + 1;
- 209 ÷ 2 = 104 + 1;
- 104 ÷ 2 = 52 + 0;
- 52 ÷ 2 = 26 + 0;
- 26 ÷ 2 = 13 + 0;
- 13 ÷ 2 = 6 + 1;
- 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.
109 999 407(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
109 999 407 (base 10) = 110 1000 1110 0111 0101 0010 1111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.