What are the required steps to convert base 10 decimal system
number 21 914 624 431 832 315 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;
- 21 914 624 431 832 315 ÷ 2 = 10 957 312 215 916 157 + 1;
- 10 957 312 215 916 157 ÷ 2 = 5 478 656 107 958 078 + 1;
- 5 478 656 107 958 078 ÷ 2 = 2 739 328 053 979 039 + 0;
- 2 739 328 053 979 039 ÷ 2 = 1 369 664 026 989 519 + 1;
- 1 369 664 026 989 519 ÷ 2 = 684 832 013 494 759 + 1;
- 684 832 013 494 759 ÷ 2 = 342 416 006 747 379 + 1;
- 342 416 006 747 379 ÷ 2 = 171 208 003 373 689 + 1;
- 171 208 003 373 689 ÷ 2 = 85 604 001 686 844 + 1;
- 85 604 001 686 844 ÷ 2 = 42 802 000 843 422 + 0;
- 42 802 000 843 422 ÷ 2 = 21 401 000 421 711 + 0;
- 21 401 000 421 711 ÷ 2 = 10 700 500 210 855 + 1;
- 10 700 500 210 855 ÷ 2 = 5 350 250 105 427 + 1;
- 5 350 250 105 427 ÷ 2 = 2 675 125 052 713 + 1;
- 2 675 125 052 713 ÷ 2 = 1 337 562 526 356 + 1;
- 1 337 562 526 356 ÷ 2 = 668 781 263 178 + 0;
- 668 781 263 178 ÷ 2 = 334 390 631 589 + 0;
- 334 390 631 589 ÷ 2 = 167 195 315 794 + 1;
- 167 195 315 794 ÷ 2 = 83 597 657 897 + 0;
- 83 597 657 897 ÷ 2 = 41 798 828 948 + 1;
- 41 798 828 948 ÷ 2 = 20 899 414 474 + 0;
- 20 899 414 474 ÷ 2 = 10 449 707 237 + 0;
- 10 449 707 237 ÷ 2 = 5 224 853 618 + 1;
- 5 224 853 618 ÷ 2 = 2 612 426 809 + 0;
- 2 612 426 809 ÷ 2 = 1 306 213 404 + 1;
- 1 306 213 404 ÷ 2 = 653 106 702 + 0;
- 653 106 702 ÷ 2 = 326 553 351 + 0;
- 326 553 351 ÷ 2 = 163 276 675 + 1;
- 163 276 675 ÷ 2 = 81 638 337 + 1;
- 81 638 337 ÷ 2 = 40 819 168 + 1;
- 40 819 168 ÷ 2 = 20 409 584 + 0;
- 20 409 584 ÷ 2 = 10 204 792 + 0;
- 10 204 792 ÷ 2 = 5 102 396 + 0;
- 5 102 396 ÷ 2 = 2 551 198 + 0;
- 2 551 198 ÷ 2 = 1 275 599 + 0;
- 1 275 599 ÷ 2 = 637 799 + 1;
- 637 799 ÷ 2 = 318 899 + 1;
- 318 899 ÷ 2 = 159 449 + 1;
- 159 449 ÷ 2 = 79 724 + 1;
- 79 724 ÷ 2 = 39 862 + 0;
- 39 862 ÷ 2 = 19 931 + 0;
- 19 931 ÷ 2 = 9 965 + 1;
- 9 965 ÷ 2 = 4 982 + 1;
- 4 982 ÷ 2 = 2 491 + 0;
- 2 491 ÷ 2 = 1 245 + 1;
- 1 245 ÷ 2 = 622 + 1;
- 622 ÷ 2 = 311 + 0;
- 311 ÷ 2 = 155 + 1;
- 155 ÷ 2 = 77 + 1;
- 77 ÷ 2 = 38 + 1;
- 38 ÷ 2 = 19 + 0;
- 19 ÷ 2 = 9 + 1;
- 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.
21 914 624 431 832 315(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
21 914 624 431 832 315 (base 10) = 100 1101 1101 1011 0011 1100 0001 1100 1010 0101 0011 1100 1111 1011 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.