What are the required steps to convert base 10 decimal system
number 10 107 101 610 151 118 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;
- 10 107 101 610 151 118 ÷ 2 = 5 053 550 805 075 559 + 0;
- 5 053 550 805 075 559 ÷ 2 = 2 526 775 402 537 779 + 1;
- 2 526 775 402 537 779 ÷ 2 = 1 263 387 701 268 889 + 1;
- 1 263 387 701 268 889 ÷ 2 = 631 693 850 634 444 + 1;
- 631 693 850 634 444 ÷ 2 = 315 846 925 317 222 + 0;
- 315 846 925 317 222 ÷ 2 = 157 923 462 658 611 + 0;
- 157 923 462 658 611 ÷ 2 = 78 961 731 329 305 + 1;
- 78 961 731 329 305 ÷ 2 = 39 480 865 664 652 + 1;
- 39 480 865 664 652 ÷ 2 = 19 740 432 832 326 + 0;
- 19 740 432 832 326 ÷ 2 = 9 870 216 416 163 + 0;
- 9 870 216 416 163 ÷ 2 = 4 935 108 208 081 + 1;
- 4 935 108 208 081 ÷ 2 = 2 467 554 104 040 + 1;
- 2 467 554 104 040 ÷ 2 = 1 233 777 052 020 + 0;
- 1 233 777 052 020 ÷ 2 = 616 888 526 010 + 0;
- 616 888 526 010 ÷ 2 = 308 444 263 005 + 0;
- 308 444 263 005 ÷ 2 = 154 222 131 502 + 1;
- 154 222 131 502 ÷ 2 = 77 111 065 751 + 0;
- 77 111 065 751 ÷ 2 = 38 555 532 875 + 1;
- 38 555 532 875 ÷ 2 = 19 277 766 437 + 1;
- 19 277 766 437 ÷ 2 = 9 638 883 218 + 1;
- 9 638 883 218 ÷ 2 = 4 819 441 609 + 0;
- 4 819 441 609 ÷ 2 = 2 409 720 804 + 1;
- 2 409 720 804 ÷ 2 = 1 204 860 402 + 0;
- 1 204 860 402 ÷ 2 = 602 430 201 + 0;
- 602 430 201 ÷ 2 = 301 215 100 + 1;
- 301 215 100 ÷ 2 = 150 607 550 + 0;
- 150 607 550 ÷ 2 = 75 303 775 + 0;
- 75 303 775 ÷ 2 = 37 651 887 + 1;
- 37 651 887 ÷ 2 = 18 825 943 + 1;
- 18 825 943 ÷ 2 = 9 412 971 + 1;
- 9 412 971 ÷ 2 = 4 706 485 + 1;
- 4 706 485 ÷ 2 = 2 353 242 + 1;
- 2 353 242 ÷ 2 = 1 176 621 + 0;
- 1 176 621 ÷ 2 = 588 310 + 1;
- 588 310 ÷ 2 = 294 155 + 0;
- 294 155 ÷ 2 = 147 077 + 1;
- 147 077 ÷ 2 = 73 538 + 1;
- 73 538 ÷ 2 = 36 769 + 0;
- 36 769 ÷ 2 = 18 384 + 1;
- 18 384 ÷ 2 = 9 192 + 0;
- 9 192 ÷ 2 = 4 596 + 0;
- 4 596 ÷ 2 = 2 298 + 0;
- 2 298 ÷ 2 = 1 149 + 0;
- 1 149 ÷ 2 = 574 + 1;
- 574 ÷ 2 = 287 + 0;
- 287 ÷ 2 = 143 + 1;
- 143 ÷ 2 = 71 + 1;
- 71 ÷ 2 = 35 + 1;
- 35 ÷ 2 = 17 + 1;
- 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.
10 107 101 610 151 118(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
10 107 101 610 151 118 (base 10) = 10 0011 1110 1000 0101 1010 1111 1001 0010 1110 1000 1100 1100 1110 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.