What are the required steps to convert base 10 decimal system
number 1 586 287 527 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;
- 1 586 287 527 ÷ 2 = 793 143 763 + 1;
- 793 143 763 ÷ 2 = 396 571 881 + 1;
- 396 571 881 ÷ 2 = 198 285 940 + 1;
- 198 285 940 ÷ 2 = 99 142 970 + 0;
- 99 142 970 ÷ 2 = 49 571 485 + 0;
- 49 571 485 ÷ 2 = 24 785 742 + 1;
- 24 785 742 ÷ 2 = 12 392 871 + 0;
- 12 392 871 ÷ 2 = 6 196 435 + 1;
- 6 196 435 ÷ 2 = 3 098 217 + 1;
- 3 098 217 ÷ 2 = 1 549 108 + 1;
- 1 549 108 ÷ 2 = 774 554 + 0;
- 774 554 ÷ 2 = 387 277 + 0;
- 387 277 ÷ 2 = 193 638 + 1;
- 193 638 ÷ 2 = 96 819 + 0;
- 96 819 ÷ 2 = 48 409 + 1;
- 48 409 ÷ 2 = 24 204 + 1;
- 24 204 ÷ 2 = 12 102 + 0;
- 12 102 ÷ 2 = 6 051 + 0;
- 6 051 ÷ 2 = 3 025 + 1;
- 3 025 ÷ 2 = 1 512 + 1;
- 1 512 ÷ 2 = 756 + 0;
- 756 ÷ 2 = 378 + 0;
- 378 ÷ 2 = 189 + 0;
- 189 ÷ 2 = 94 + 1;
- 94 ÷ 2 = 47 + 0;
- 47 ÷ 2 = 23 + 1;
- 23 ÷ 2 = 11 + 1;
- 11 ÷ 2 = 5 + 1;
- 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.
1 586 287 527(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 586 287 527 (base 10) = 101 1110 1000 1100 1101 0011 1010 0111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.