What are the required steps to convert base 10 decimal system
number 7 866 999 999 999 815 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;
- 7 866 999 999 999 815 ÷ 2 = 3 933 499 999 999 907 + 1;
- 3 933 499 999 999 907 ÷ 2 = 1 966 749 999 999 953 + 1;
- 1 966 749 999 999 953 ÷ 2 = 983 374 999 999 976 + 1;
- 983 374 999 999 976 ÷ 2 = 491 687 499 999 988 + 0;
- 491 687 499 999 988 ÷ 2 = 245 843 749 999 994 + 0;
- 245 843 749 999 994 ÷ 2 = 122 921 874 999 997 + 0;
- 122 921 874 999 997 ÷ 2 = 61 460 937 499 998 + 1;
- 61 460 937 499 998 ÷ 2 = 30 730 468 749 999 + 0;
- 30 730 468 749 999 ÷ 2 = 15 365 234 374 999 + 1;
- 15 365 234 374 999 ÷ 2 = 7 682 617 187 499 + 1;
- 7 682 617 187 499 ÷ 2 = 3 841 308 593 749 + 1;
- 3 841 308 593 749 ÷ 2 = 1 920 654 296 874 + 1;
- 1 920 654 296 874 ÷ 2 = 960 327 148 437 + 0;
- 960 327 148 437 ÷ 2 = 480 163 574 218 + 1;
- 480 163 574 218 ÷ 2 = 240 081 787 109 + 0;
- 240 081 787 109 ÷ 2 = 120 040 893 554 + 1;
- 120 040 893 554 ÷ 2 = 60 020 446 777 + 0;
- 60 020 446 777 ÷ 2 = 30 010 223 388 + 1;
- 30 010 223 388 ÷ 2 = 15 005 111 694 + 0;
- 15 005 111 694 ÷ 2 = 7 502 555 847 + 0;
- 7 502 555 847 ÷ 2 = 3 751 277 923 + 1;
- 3 751 277 923 ÷ 2 = 1 875 638 961 + 1;
- 1 875 638 961 ÷ 2 = 937 819 480 + 1;
- 937 819 480 ÷ 2 = 468 909 740 + 0;
- 468 909 740 ÷ 2 = 234 454 870 + 0;
- 234 454 870 ÷ 2 = 117 227 435 + 0;
- 117 227 435 ÷ 2 = 58 613 717 + 1;
- 58 613 717 ÷ 2 = 29 306 858 + 1;
- 29 306 858 ÷ 2 = 14 653 429 + 0;
- 14 653 429 ÷ 2 = 7 326 714 + 1;
- 7 326 714 ÷ 2 = 3 663 357 + 0;
- 3 663 357 ÷ 2 = 1 831 678 + 1;
- 1 831 678 ÷ 2 = 915 839 + 0;
- 915 839 ÷ 2 = 457 919 + 1;
- 457 919 ÷ 2 = 228 959 + 1;
- 228 959 ÷ 2 = 114 479 + 1;
- 114 479 ÷ 2 = 57 239 + 1;
- 57 239 ÷ 2 = 28 619 + 1;
- 28 619 ÷ 2 = 14 309 + 1;
- 14 309 ÷ 2 = 7 154 + 1;
- 7 154 ÷ 2 = 3 577 + 0;
- 3 577 ÷ 2 = 1 788 + 1;
- 1 788 ÷ 2 = 894 + 0;
- 894 ÷ 2 = 447 + 0;
- 447 ÷ 2 = 223 + 1;
- 223 ÷ 2 = 111 + 1;
- 111 ÷ 2 = 55 + 1;
- 55 ÷ 2 = 27 + 1;
- 27 ÷ 2 = 13 + 1;
- 13 ÷ 2 = 6 + 1;
- 6 ÷ 2 = 3 + 0;
- 3 ÷ 2 = 1 + 1;
- 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.
7 866 999 999 999 815(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
7 866 999 999 999 815 (base 10) = 1 1011 1111 0010 1111 1110 1010 1100 0111 0010 1010 1111 0100 0111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.