What are the required steps to convert base 10 decimal system
number 20 220 615 130 927 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;
- 20 220 615 130 927 ÷ 2 = 10 110 307 565 463 + 1;
- 10 110 307 565 463 ÷ 2 = 5 055 153 782 731 + 1;
- 5 055 153 782 731 ÷ 2 = 2 527 576 891 365 + 1;
- 2 527 576 891 365 ÷ 2 = 1 263 788 445 682 + 1;
- 1 263 788 445 682 ÷ 2 = 631 894 222 841 + 0;
- 631 894 222 841 ÷ 2 = 315 947 111 420 + 1;
- 315 947 111 420 ÷ 2 = 157 973 555 710 + 0;
- 157 973 555 710 ÷ 2 = 78 986 777 855 + 0;
- 78 986 777 855 ÷ 2 = 39 493 388 927 + 1;
- 39 493 388 927 ÷ 2 = 19 746 694 463 + 1;
- 19 746 694 463 ÷ 2 = 9 873 347 231 + 1;
- 9 873 347 231 ÷ 2 = 4 936 673 615 + 1;
- 4 936 673 615 ÷ 2 = 2 468 336 807 + 1;
- 2 468 336 807 ÷ 2 = 1 234 168 403 + 1;
- 1 234 168 403 ÷ 2 = 617 084 201 + 1;
- 617 084 201 ÷ 2 = 308 542 100 + 1;
- 308 542 100 ÷ 2 = 154 271 050 + 0;
- 154 271 050 ÷ 2 = 77 135 525 + 0;
- 77 135 525 ÷ 2 = 38 567 762 + 1;
- 38 567 762 ÷ 2 = 19 283 881 + 0;
- 19 283 881 ÷ 2 = 9 641 940 + 1;
- 9 641 940 ÷ 2 = 4 820 970 + 0;
- 4 820 970 ÷ 2 = 2 410 485 + 0;
- 2 410 485 ÷ 2 = 1 205 242 + 1;
- 1 205 242 ÷ 2 = 602 621 + 0;
- 602 621 ÷ 2 = 301 310 + 1;
- 301 310 ÷ 2 = 150 655 + 0;
- 150 655 ÷ 2 = 75 327 + 1;
- 75 327 ÷ 2 = 37 663 + 1;
- 37 663 ÷ 2 = 18 831 + 1;
- 18 831 ÷ 2 = 9 415 + 1;
- 9 415 ÷ 2 = 4 707 + 1;
- 4 707 ÷ 2 = 2 353 + 1;
- 2 353 ÷ 2 = 1 176 + 1;
- 1 176 ÷ 2 = 588 + 0;
- 588 ÷ 2 = 294 + 0;
- 294 ÷ 2 = 147 + 0;
- 147 ÷ 2 = 73 + 1;
- 73 ÷ 2 = 36 + 1;
- 36 ÷ 2 = 18 + 0;
- 18 ÷ 2 = 9 + 0;
- 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.
20 220 615 130 927(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
20 220 615 130 927 (base 10) = 1 0010 0110 0011 1111 1010 1001 0100 1111 1111 0010 1111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.