What are the required steps to convert base 10 decimal system
number 170 859 100 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;
- 170 859 100 ÷ 2 = 85 429 550 + 0;
- 85 429 550 ÷ 2 = 42 714 775 + 0;
- 42 714 775 ÷ 2 = 21 357 387 + 1;
- 21 357 387 ÷ 2 = 10 678 693 + 1;
- 10 678 693 ÷ 2 = 5 339 346 + 1;
- 5 339 346 ÷ 2 = 2 669 673 + 0;
- 2 669 673 ÷ 2 = 1 334 836 + 1;
- 1 334 836 ÷ 2 = 667 418 + 0;
- 667 418 ÷ 2 = 333 709 + 0;
- 333 709 ÷ 2 = 166 854 + 1;
- 166 854 ÷ 2 = 83 427 + 0;
- 83 427 ÷ 2 = 41 713 + 1;
- 41 713 ÷ 2 = 20 856 + 1;
- 20 856 ÷ 2 = 10 428 + 0;
- 10 428 ÷ 2 = 5 214 + 0;
- 5 214 ÷ 2 = 2 607 + 0;
- 2 607 ÷ 2 = 1 303 + 1;
- 1 303 ÷ 2 = 651 + 1;
- 651 ÷ 2 = 325 + 1;
- 325 ÷ 2 = 162 + 1;
- 162 ÷ 2 = 81 + 0;
- 81 ÷ 2 = 40 + 1;
- 40 ÷ 2 = 20 + 0;
- 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.
170 859 100(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
170 859 100 (base 10) = 1010 0010 1111 0001 1010 0101 1100 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.