What are the required steps to convert base 10 decimal system
number 1 586 287 655 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 655 ÷ 2 = 793 143 827 + 1;
- 793 143 827 ÷ 2 = 396 571 913 + 1;
- 396 571 913 ÷ 2 = 198 285 956 + 1;
- 198 285 956 ÷ 2 = 99 142 978 + 0;
- 99 142 978 ÷ 2 = 49 571 489 + 0;
- 49 571 489 ÷ 2 = 24 785 744 + 1;
- 24 785 744 ÷ 2 = 12 392 872 + 0;
- 12 392 872 ÷ 2 = 6 196 436 + 0;
- 6 196 436 ÷ 2 = 3 098 218 + 0;
- 3 098 218 ÷ 2 = 1 549 109 + 0;
- 1 549 109 ÷ 2 = 774 554 + 1;
- 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 655(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 586 287 655 (base 10) = 101 1110 1000 1100 1101 0100 0010 0111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.