What are the required steps to convert base 10 decimal system
number 173 245 226 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;
- 173 245 226 ÷ 2 = 86 622 613 + 0;
- 86 622 613 ÷ 2 = 43 311 306 + 1;
- 43 311 306 ÷ 2 = 21 655 653 + 0;
- 21 655 653 ÷ 2 = 10 827 826 + 1;
- 10 827 826 ÷ 2 = 5 413 913 + 0;
- 5 413 913 ÷ 2 = 2 706 956 + 1;
- 2 706 956 ÷ 2 = 1 353 478 + 0;
- 1 353 478 ÷ 2 = 676 739 + 0;
- 676 739 ÷ 2 = 338 369 + 1;
- 338 369 ÷ 2 = 169 184 + 1;
- 169 184 ÷ 2 = 84 592 + 0;
- 84 592 ÷ 2 = 42 296 + 0;
- 42 296 ÷ 2 = 21 148 + 0;
- 21 148 ÷ 2 = 10 574 + 0;
- 10 574 ÷ 2 = 5 287 + 0;
- 5 287 ÷ 2 = 2 643 + 1;
- 2 643 ÷ 2 = 1 321 + 1;
- 1 321 ÷ 2 = 660 + 1;
- 660 ÷ 2 = 330 + 0;
- 330 ÷ 2 = 165 + 0;
- 165 ÷ 2 = 82 + 1;
- 82 ÷ 2 = 41 + 0;
- 41 ÷ 2 = 20 + 1;
- 20 ÷ 2 = 10 + 0;
- 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.
173 245 226(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
173 245 226 (base 10) = 1010 0101 0011 1000 0011 0010 1010 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.