What are the required steps to convert base 10 decimal system
number 22 221 169 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;
- 22 221 169 ÷ 2 = 11 110 584 + 1;
- 11 110 584 ÷ 2 = 5 555 292 + 0;
- 5 555 292 ÷ 2 = 2 777 646 + 0;
- 2 777 646 ÷ 2 = 1 388 823 + 0;
- 1 388 823 ÷ 2 = 694 411 + 1;
- 694 411 ÷ 2 = 347 205 + 1;
- 347 205 ÷ 2 = 173 602 + 1;
- 173 602 ÷ 2 = 86 801 + 0;
- 86 801 ÷ 2 = 43 400 + 1;
- 43 400 ÷ 2 = 21 700 + 0;
- 21 700 ÷ 2 = 10 850 + 0;
- 10 850 ÷ 2 = 5 425 + 0;
- 5 425 ÷ 2 = 2 712 + 1;
- 2 712 ÷ 2 = 1 356 + 0;
- 1 356 ÷ 2 = 678 + 0;
- 678 ÷ 2 = 339 + 0;
- 339 ÷ 2 = 169 + 1;
- 169 ÷ 2 = 84 + 1;
- 84 ÷ 2 = 42 + 0;
- 42 ÷ 2 = 21 + 0;
- 21 ÷ 2 = 10 + 1;
- 10 ÷ 2 = 5 + 0;
- 5 ÷ 2 = 2 + 1;
- 2 ÷ 2 = 1 + 0;
- 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.
22 221 169(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
22 221 169 (base 10) = 1 0101 0011 0001 0001 0111 0001 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.