What are the required steps to convert base 10 decimal system
number 213 047 173 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;
- 213 047 173 ÷ 2 = 106 523 586 + 1;
- 106 523 586 ÷ 2 = 53 261 793 + 0;
- 53 261 793 ÷ 2 = 26 630 896 + 1;
- 26 630 896 ÷ 2 = 13 315 448 + 0;
- 13 315 448 ÷ 2 = 6 657 724 + 0;
- 6 657 724 ÷ 2 = 3 328 862 + 0;
- 3 328 862 ÷ 2 = 1 664 431 + 0;
- 1 664 431 ÷ 2 = 832 215 + 1;
- 832 215 ÷ 2 = 416 107 + 1;
- 416 107 ÷ 2 = 208 053 + 1;
- 208 053 ÷ 2 = 104 026 + 1;
- 104 026 ÷ 2 = 52 013 + 0;
- 52 013 ÷ 2 = 26 006 + 1;
- 26 006 ÷ 2 = 13 003 + 0;
- 13 003 ÷ 2 = 6 501 + 1;
- 6 501 ÷ 2 = 3 250 + 1;
- 3 250 ÷ 2 = 1 625 + 0;
- 1 625 ÷ 2 = 812 + 1;
- 812 ÷ 2 = 406 + 0;
- 406 ÷ 2 = 203 + 0;
- 203 ÷ 2 = 101 + 1;
- 101 ÷ 2 = 50 + 1;
- 50 ÷ 2 = 25 + 0;
- 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.
213 047 173(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
213 047 173 (base 10) = 1100 1011 0010 1101 0111 1000 0101 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.