What are the required steps to convert base 10 decimal system
number 643 126 971 847 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;
- 643 126 971 847 ÷ 2 = 321 563 485 923 + 1;
- 321 563 485 923 ÷ 2 = 160 781 742 961 + 1;
- 160 781 742 961 ÷ 2 = 80 390 871 480 + 1;
- 80 390 871 480 ÷ 2 = 40 195 435 740 + 0;
- 40 195 435 740 ÷ 2 = 20 097 717 870 + 0;
- 20 097 717 870 ÷ 2 = 10 048 858 935 + 0;
- 10 048 858 935 ÷ 2 = 5 024 429 467 + 1;
- 5 024 429 467 ÷ 2 = 2 512 214 733 + 1;
- 2 512 214 733 ÷ 2 = 1 256 107 366 + 1;
- 1 256 107 366 ÷ 2 = 628 053 683 + 0;
- 628 053 683 ÷ 2 = 314 026 841 + 1;
- 314 026 841 ÷ 2 = 157 013 420 + 1;
- 157 013 420 ÷ 2 = 78 506 710 + 0;
- 78 506 710 ÷ 2 = 39 253 355 + 0;
- 39 253 355 ÷ 2 = 19 626 677 + 1;
- 19 626 677 ÷ 2 = 9 813 338 + 1;
- 9 813 338 ÷ 2 = 4 906 669 + 0;
- 4 906 669 ÷ 2 = 2 453 334 + 1;
- 2 453 334 ÷ 2 = 1 226 667 + 0;
- 1 226 667 ÷ 2 = 613 333 + 1;
- 613 333 ÷ 2 = 306 666 + 1;
- 306 666 ÷ 2 = 153 333 + 0;
- 153 333 ÷ 2 = 76 666 + 1;
- 76 666 ÷ 2 = 38 333 + 0;
- 38 333 ÷ 2 = 19 166 + 1;
- 19 166 ÷ 2 = 9 583 + 0;
- 9 583 ÷ 2 = 4 791 + 1;
- 4 791 ÷ 2 = 2 395 + 1;
- 2 395 ÷ 2 = 1 197 + 1;
- 1 197 ÷ 2 = 598 + 1;
- 598 ÷ 2 = 299 + 0;
- 299 ÷ 2 = 149 + 1;
- 149 ÷ 2 = 74 + 1;
- 74 ÷ 2 = 37 + 0;
- 37 ÷ 2 = 18 + 1;
- 18 ÷ 2 = 9 + 0;
- 9 ÷ 2 = 4 + 1;
- 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.
643 126 971 847(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
643 126 971 847 (base 10) = 1001 0101 1011 1101 0101 1010 1100 1101 1100 0111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.