What are the required steps to convert base 10 decimal system
number 1 425 787 542 618 654 998 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;
- 1 425 787 542 618 654 998 ÷ 2 = 712 893 771 309 327 499 + 0;
- 712 893 771 309 327 499 ÷ 2 = 356 446 885 654 663 749 + 1;
- 356 446 885 654 663 749 ÷ 2 = 178 223 442 827 331 874 + 1;
- 178 223 442 827 331 874 ÷ 2 = 89 111 721 413 665 937 + 0;
- 89 111 721 413 665 937 ÷ 2 = 44 555 860 706 832 968 + 1;
- 44 555 860 706 832 968 ÷ 2 = 22 277 930 353 416 484 + 0;
- 22 277 930 353 416 484 ÷ 2 = 11 138 965 176 708 242 + 0;
- 11 138 965 176 708 242 ÷ 2 = 5 569 482 588 354 121 + 0;
- 5 569 482 588 354 121 ÷ 2 = 2 784 741 294 177 060 + 1;
- 2 784 741 294 177 060 ÷ 2 = 1 392 370 647 088 530 + 0;
- 1 392 370 647 088 530 ÷ 2 = 696 185 323 544 265 + 0;
- 696 185 323 544 265 ÷ 2 = 348 092 661 772 132 + 1;
- 348 092 661 772 132 ÷ 2 = 174 046 330 886 066 + 0;
- 174 046 330 886 066 ÷ 2 = 87 023 165 443 033 + 0;
- 87 023 165 443 033 ÷ 2 = 43 511 582 721 516 + 1;
- 43 511 582 721 516 ÷ 2 = 21 755 791 360 758 + 0;
- 21 755 791 360 758 ÷ 2 = 10 877 895 680 379 + 0;
- 10 877 895 680 379 ÷ 2 = 5 438 947 840 189 + 1;
- 5 438 947 840 189 ÷ 2 = 2 719 473 920 094 + 1;
- 2 719 473 920 094 ÷ 2 = 1 359 736 960 047 + 0;
- 1 359 736 960 047 ÷ 2 = 679 868 480 023 + 1;
- 679 868 480 023 ÷ 2 = 339 934 240 011 + 1;
- 339 934 240 011 ÷ 2 = 169 967 120 005 + 1;
- 169 967 120 005 ÷ 2 = 84 983 560 002 + 1;
- 84 983 560 002 ÷ 2 = 42 491 780 001 + 0;
- 42 491 780 001 ÷ 2 = 21 245 890 000 + 1;
- 21 245 890 000 ÷ 2 = 10 622 945 000 + 0;
- 10 622 945 000 ÷ 2 = 5 311 472 500 + 0;
- 5 311 472 500 ÷ 2 = 2 655 736 250 + 0;
- 2 655 736 250 ÷ 2 = 1 327 868 125 + 0;
- 1 327 868 125 ÷ 2 = 663 934 062 + 1;
- 663 934 062 ÷ 2 = 331 967 031 + 0;
- 331 967 031 ÷ 2 = 165 983 515 + 1;
- 165 983 515 ÷ 2 = 82 991 757 + 1;
- 82 991 757 ÷ 2 = 41 495 878 + 1;
- 41 495 878 ÷ 2 = 20 747 939 + 0;
- 20 747 939 ÷ 2 = 10 373 969 + 1;
- 10 373 969 ÷ 2 = 5 186 984 + 1;
- 5 186 984 ÷ 2 = 2 593 492 + 0;
- 2 593 492 ÷ 2 = 1 296 746 + 0;
- 1 296 746 ÷ 2 = 648 373 + 0;
- 648 373 ÷ 2 = 324 186 + 1;
- 324 186 ÷ 2 = 162 093 + 0;
- 162 093 ÷ 2 = 81 046 + 1;
- 81 046 ÷ 2 = 40 523 + 0;
- 40 523 ÷ 2 = 20 261 + 1;
- 20 261 ÷ 2 = 10 130 + 1;
- 10 130 ÷ 2 = 5 065 + 0;
- 5 065 ÷ 2 = 2 532 + 1;
- 2 532 ÷ 2 = 1 266 + 0;
- 1 266 ÷ 2 = 633 + 0;
- 633 ÷ 2 = 316 + 1;
- 316 ÷ 2 = 158 + 0;
- 158 ÷ 2 = 79 + 0;
- 79 ÷ 2 = 39 + 1;
- 39 ÷ 2 = 19 + 1;
- 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.
1 425 787 542 618 654 998(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 425 787 542 618 654 998 (base 10) = 1 0011 1100 1001 0110 1010 0011 0111 0100 0010 1111 0110 0100 1001 0001 0110 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.