What are the required steps to convert base 10 decimal system
number 2 987 243 741 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;
- 2 987 243 741 ÷ 2 = 1 493 621 870 + 1;
- 1 493 621 870 ÷ 2 = 746 810 935 + 0;
- 746 810 935 ÷ 2 = 373 405 467 + 1;
- 373 405 467 ÷ 2 = 186 702 733 + 1;
- 186 702 733 ÷ 2 = 93 351 366 + 1;
- 93 351 366 ÷ 2 = 46 675 683 + 0;
- 46 675 683 ÷ 2 = 23 337 841 + 1;
- 23 337 841 ÷ 2 = 11 668 920 + 1;
- 11 668 920 ÷ 2 = 5 834 460 + 0;
- 5 834 460 ÷ 2 = 2 917 230 + 0;
- 2 917 230 ÷ 2 = 1 458 615 + 0;
- 1 458 615 ÷ 2 = 729 307 + 1;
- 729 307 ÷ 2 = 364 653 + 1;
- 364 653 ÷ 2 = 182 326 + 1;
- 182 326 ÷ 2 = 91 163 + 0;
- 91 163 ÷ 2 = 45 581 + 1;
- 45 581 ÷ 2 = 22 790 + 1;
- 22 790 ÷ 2 = 11 395 + 0;
- 11 395 ÷ 2 = 5 697 + 1;
- 5 697 ÷ 2 = 2 848 + 1;
- 2 848 ÷ 2 = 1 424 + 0;
- 1 424 ÷ 2 = 712 + 0;
- 712 ÷ 2 = 356 + 0;
- 356 ÷ 2 = 178 + 0;
- 178 ÷ 2 = 89 + 0;
- 89 ÷ 2 = 44 + 1;
- 44 ÷ 2 = 22 + 0;
- 22 ÷ 2 = 11 + 0;
- 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.
2 987 243 741(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
2 987 243 741 (base 10) = 1011 0010 0000 1101 1011 1000 1101 1101 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.