What are the required steps to convert base 10 decimal system
number 1 010 101 111 010 101 058 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 010 101 111 010 101 058 ÷ 2 = 505 050 555 505 050 529 + 0;
- 505 050 555 505 050 529 ÷ 2 = 252 525 277 752 525 264 + 1;
- 252 525 277 752 525 264 ÷ 2 = 126 262 638 876 262 632 + 0;
- 126 262 638 876 262 632 ÷ 2 = 63 131 319 438 131 316 + 0;
- 63 131 319 438 131 316 ÷ 2 = 31 565 659 719 065 658 + 0;
- 31 565 659 719 065 658 ÷ 2 = 15 782 829 859 532 829 + 0;
- 15 782 829 859 532 829 ÷ 2 = 7 891 414 929 766 414 + 1;
- 7 891 414 929 766 414 ÷ 2 = 3 945 707 464 883 207 + 0;
- 3 945 707 464 883 207 ÷ 2 = 1 972 853 732 441 603 + 1;
- 1 972 853 732 441 603 ÷ 2 = 986 426 866 220 801 + 1;
- 986 426 866 220 801 ÷ 2 = 493 213 433 110 400 + 1;
- 493 213 433 110 400 ÷ 2 = 246 606 716 555 200 + 0;
- 246 606 716 555 200 ÷ 2 = 123 303 358 277 600 + 0;
- 123 303 358 277 600 ÷ 2 = 61 651 679 138 800 + 0;
- 61 651 679 138 800 ÷ 2 = 30 825 839 569 400 + 0;
- 30 825 839 569 400 ÷ 2 = 15 412 919 784 700 + 0;
- 15 412 919 784 700 ÷ 2 = 7 706 459 892 350 + 0;
- 7 706 459 892 350 ÷ 2 = 3 853 229 946 175 + 0;
- 3 853 229 946 175 ÷ 2 = 1 926 614 973 087 + 1;
- 1 926 614 973 087 ÷ 2 = 963 307 486 543 + 1;
- 963 307 486 543 ÷ 2 = 481 653 743 271 + 1;
- 481 653 743 271 ÷ 2 = 240 826 871 635 + 1;
- 240 826 871 635 ÷ 2 = 120 413 435 817 + 1;
- 120 413 435 817 ÷ 2 = 60 206 717 908 + 1;
- 60 206 717 908 ÷ 2 = 30 103 358 954 + 0;
- 30 103 358 954 ÷ 2 = 15 051 679 477 + 0;
- 15 051 679 477 ÷ 2 = 7 525 839 738 + 1;
- 7 525 839 738 ÷ 2 = 3 762 919 869 + 0;
- 3 762 919 869 ÷ 2 = 1 881 459 934 + 1;
- 1 881 459 934 ÷ 2 = 940 729 967 + 0;
- 940 729 967 ÷ 2 = 470 364 983 + 1;
- 470 364 983 ÷ 2 = 235 182 491 + 1;
- 235 182 491 ÷ 2 = 117 591 245 + 1;
- 117 591 245 ÷ 2 = 58 795 622 + 1;
- 58 795 622 ÷ 2 = 29 397 811 + 0;
- 29 397 811 ÷ 2 = 14 698 905 + 1;
- 14 698 905 ÷ 2 = 7 349 452 + 1;
- 7 349 452 ÷ 2 = 3 674 726 + 0;
- 3 674 726 ÷ 2 = 1 837 363 + 0;
- 1 837 363 ÷ 2 = 918 681 + 1;
- 918 681 ÷ 2 = 459 340 + 1;
- 459 340 ÷ 2 = 229 670 + 0;
- 229 670 ÷ 2 = 114 835 + 0;
- 114 835 ÷ 2 = 57 417 + 1;
- 57 417 ÷ 2 = 28 708 + 1;
- 28 708 ÷ 2 = 14 354 + 0;
- 14 354 ÷ 2 = 7 177 + 0;
- 7 177 ÷ 2 = 3 588 + 1;
- 3 588 ÷ 2 = 1 794 + 0;
- 1 794 ÷ 2 = 897 + 0;
- 897 ÷ 2 = 448 + 1;
- 448 ÷ 2 = 224 + 0;
- 224 ÷ 2 = 112 + 0;
- 112 ÷ 2 = 56 + 0;
- 56 ÷ 2 = 28 + 0;
- 28 ÷ 2 = 14 + 0;
- 14 ÷ 2 = 7 + 0;
- 7 ÷ 2 = 3 + 1;
- 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.
1 010 101 111 010 101 058(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 010 101 111 010 101 058 (base 10) = 1110 0000 0100 1001 1001 1001 1011 1101 0100 1111 1100 0000 0111 0100 0010 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.