What are the required steps to convert base 10 decimal system
number 6 781 942 947 266 914 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;
- 6 781 942 947 266 914 ÷ 2 = 3 390 971 473 633 457 + 0;
- 3 390 971 473 633 457 ÷ 2 = 1 695 485 736 816 728 + 1;
- 1 695 485 736 816 728 ÷ 2 = 847 742 868 408 364 + 0;
- 847 742 868 408 364 ÷ 2 = 423 871 434 204 182 + 0;
- 423 871 434 204 182 ÷ 2 = 211 935 717 102 091 + 0;
- 211 935 717 102 091 ÷ 2 = 105 967 858 551 045 + 1;
- 105 967 858 551 045 ÷ 2 = 52 983 929 275 522 + 1;
- 52 983 929 275 522 ÷ 2 = 26 491 964 637 761 + 0;
- 26 491 964 637 761 ÷ 2 = 13 245 982 318 880 + 1;
- 13 245 982 318 880 ÷ 2 = 6 622 991 159 440 + 0;
- 6 622 991 159 440 ÷ 2 = 3 311 495 579 720 + 0;
- 3 311 495 579 720 ÷ 2 = 1 655 747 789 860 + 0;
- 1 655 747 789 860 ÷ 2 = 827 873 894 930 + 0;
- 827 873 894 930 ÷ 2 = 413 936 947 465 + 0;
- 413 936 947 465 ÷ 2 = 206 968 473 732 + 1;
- 206 968 473 732 ÷ 2 = 103 484 236 866 + 0;
- 103 484 236 866 ÷ 2 = 51 742 118 433 + 0;
- 51 742 118 433 ÷ 2 = 25 871 059 216 + 1;
- 25 871 059 216 ÷ 2 = 12 935 529 608 + 0;
- 12 935 529 608 ÷ 2 = 6 467 764 804 + 0;
- 6 467 764 804 ÷ 2 = 3 233 882 402 + 0;
- 3 233 882 402 ÷ 2 = 1 616 941 201 + 0;
- 1 616 941 201 ÷ 2 = 808 470 600 + 1;
- 808 470 600 ÷ 2 = 404 235 300 + 0;
- 404 235 300 ÷ 2 = 202 117 650 + 0;
- 202 117 650 ÷ 2 = 101 058 825 + 0;
- 101 058 825 ÷ 2 = 50 529 412 + 1;
- 50 529 412 ÷ 2 = 25 264 706 + 0;
- 25 264 706 ÷ 2 = 12 632 353 + 0;
- 12 632 353 ÷ 2 = 6 316 176 + 1;
- 6 316 176 ÷ 2 = 3 158 088 + 0;
- 3 158 088 ÷ 2 = 1 579 044 + 0;
- 1 579 044 ÷ 2 = 789 522 + 0;
- 789 522 ÷ 2 = 394 761 + 0;
- 394 761 ÷ 2 = 197 380 + 1;
- 197 380 ÷ 2 = 98 690 + 0;
- 98 690 ÷ 2 = 49 345 + 0;
- 49 345 ÷ 2 = 24 672 + 1;
- 24 672 ÷ 2 = 12 336 + 0;
- 12 336 ÷ 2 = 6 168 + 0;
- 6 168 ÷ 2 = 3 084 + 0;
- 3 084 ÷ 2 = 1 542 + 0;
- 1 542 ÷ 2 = 771 + 0;
- 771 ÷ 2 = 385 + 1;
- 385 ÷ 2 = 192 + 1;
- 192 ÷ 2 = 96 + 0;
- 96 ÷ 2 = 48 + 0;
- 48 ÷ 2 = 24 + 0;
- 24 ÷ 2 = 12 + 0;
- 12 ÷ 2 = 6 + 0;
- 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.
6 781 942 947 266 914(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
6 781 942 947 266 914 (base 10) = 1 1000 0001 1000 0010 0100 0010 0100 0100 0010 0100 0001 0110 0010 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.