What are the required steps to convert base 10 decimal system
number 1 000 010 101 109 989 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 000 010 101 109 989 ÷ 2 = 500 005 050 554 994 + 1;
- 500 005 050 554 994 ÷ 2 = 250 002 525 277 497 + 0;
- 250 002 525 277 497 ÷ 2 = 125 001 262 638 748 + 1;
- 125 001 262 638 748 ÷ 2 = 62 500 631 319 374 + 0;
- 62 500 631 319 374 ÷ 2 = 31 250 315 659 687 + 0;
- 31 250 315 659 687 ÷ 2 = 15 625 157 829 843 + 1;
- 15 625 157 829 843 ÷ 2 = 7 812 578 914 921 + 1;
- 7 812 578 914 921 ÷ 2 = 3 906 289 457 460 + 1;
- 3 906 289 457 460 ÷ 2 = 1 953 144 728 730 + 0;
- 1 953 144 728 730 ÷ 2 = 976 572 364 365 + 0;
- 976 572 364 365 ÷ 2 = 488 286 182 182 + 1;
- 488 286 182 182 ÷ 2 = 244 143 091 091 + 0;
- 244 143 091 091 ÷ 2 = 122 071 545 545 + 1;
- 122 071 545 545 ÷ 2 = 61 035 772 772 + 1;
- 61 035 772 772 ÷ 2 = 30 517 886 386 + 0;
- 30 517 886 386 ÷ 2 = 15 258 943 193 + 0;
- 15 258 943 193 ÷ 2 = 7 629 471 596 + 1;
- 7 629 471 596 ÷ 2 = 3 814 735 798 + 0;
- 3 814 735 798 ÷ 2 = 1 907 367 899 + 0;
- 1 907 367 899 ÷ 2 = 953 683 949 + 1;
- 953 683 949 ÷ 2 = 476 841 974 + 1;
- 476 841 974 ÷ 2 = 238 420 987 + 0;
- 238 420 987 ÷ 2 = 119 210 493 + 1;
- 119 210 493 ÷ 2 = 59 605 246 + 1;
- 59 605 246 ÷ 2 = 29 802 623 + 0;
- 29 802 623 ÷ 2 = 14 901 311 + 1;
- 14 901 311 ÷ 2 = 7 450 655 + 1;
- 7 450 655 ÷ 2 = 3 725 327 + 1;
- 3 725 327 ÷ 2 = 1 862 663 + 1;
- 1 862 663 ÷ 2 = 931 331 + 1;
- 931 331 ÷ 2 = 465 665 + 1;
- 465 665 ÷ 2 = 232 832 + 1;
- 232 832 ÷ 2 = 116 416 + 0;
- 116 416 ÷ 2 = 58 208 + 0;
- 58 208 ÷ 2 = 29 104 + 0;
- 29 104 ÷ 2 = 14 552 + 0;
- 14 552 ÷ 2 = 7 276 + 0;
- 7 276 ÷ 2 = 3 638 + 0;
- 3 638 ÷ 2 = 1 819 + 0;
- 1 819 ÷ 2 = 909 + 1;
- 909 ÷ 2 = 454 + 1;
- 454 ÷ 2 = 227 + 0;
- 227 ÷ 2 = 113 + 1;
- 113 ÷ 2 = 56 + 1;
- 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 000 010 101 109 989(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 000 010 101 109 989 (base 10) = 11 1000 1101 1000 0000 1111 1110 1101 1001 0011 0100 1110 0101 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.