What are the required steps to convert base 10 decimal system
number 4 645 678 451 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;
- 4 645 678 451 ÷ 2 = 2 322 839 225 + 1;
- 2 322 839 225 ÷ 2 = 1 161 419 612 + 1;
- 1 161 419 612 ÷ 2 = 580 709 806 + 0;
- 580 709 806 ÷ 2 = 290 354 903 + 0;
- 290 354 903 ÷ 2 = 145 177 451 + 1;
- 145 177 451 ÷ 2 = 72 588 725 + 1;
- 72 588 725 ÷ 2 = 36 294 362 + 1;
- 36 294 362 ÷ 2 = 18 147 181 + 0;
- 18 147 181 ÷ 2 = 9 073 590 + 1;
- 9 073 590 ÷ 2 = 4 536 795 + 0;
- 4 536 795 ÷ 2 = 2 268 397 + 1;
- 2 268 397 ÷ 2 = 1 134 198 + 1;
- 1 134 198 ÷ 2 = 567 099 + 0;
- 567 099 ÷ 2 = 283 549 + 1;
- 283 549 ÷ 2 = 141 774 + 1;
- 141 774 ÷ 2 = 70 887 + 0;
- 70 887 ÷ 2 = 35 443 + 1;
- 35 443 ÷ 2 = 17 721 + 1;
- 17 721 ÷ 2 = 8 860 + 1;
- 8 860 ÷ 2 = 4 430 + 0;
- 4 430 ÷ 2 = 2 215 + 0;
- 2 215 ÷ 2 = 1 107 + 1;
- 1 107 ÷ 2 = 553 + 1;
- 553 ÷ 2 = 276 + 1;
- 276 ÷ 2 = 138 + 0;
- 138 ÷ 2 = 69 + 0;
- 69 ÷ 2 = 34 + 1;
- 34 ÷ 2 = 17 + 0;
- 17 ÷ 2 = 8 + 1;
- 8 ÷ 2 = 4 + 0;
- 4 ÷ 2 = 2 + 0;
- 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.
4 645 678 451(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
4 645 678 451 (base 10) = 1 0001 0100 1110 0111 0110 1101 0111 0011 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.