What are the required steps to convert base 10 decimal system
number 11 111 000 001 111 579 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;
- 11 111 000 001 111 579 ÷ 2 = 5 555 500 000 555 789 + 1;
- 5 555 500 000 555 789 ÷ 2 = 2 777 750 000 277 894 + 1;
- 2 777 750 000 277 894 ÷ 2 = 1 388 875 000 138 947 + 0;
- 1 388 875 000 138 947 ÷ 2 = 694 437 500 069 473 + 1;
- 694 437 500 069 473 ÷ 2 = 347 218 750 034 736 + 1;
- 347 218 750 034 736 ÷ 2 = 173 609 375 017 368 + 0;
- 173 609 375 017 368 ÷ 2 = 86 804 687 508 684 + 0;
- 86 804 687 508 684 ÷ 2 = 43 402 343 754 342 + 0;
- 43 402 343 754 342 ÷ 2 = 21 701 171 877 171 + 0;
- 21 701 171 877 171 ÷ 2 = 10 850 585 938 585 + 1;
- 10 850 585 938 585 ÷ 2 = 5 425 292 969 292 + 1;
- 5 425 292 969 292 ÷ 2 = 2 712 646 484 646 + 0;
- 2 712 646 484 646 ÷ 2 = 1 356 323 242 323 + 0;
- 1 356 323 242 323 ÷ 2 = 678 161 621 161 + 1;
- 678 161 621 161 ÷ 2 = 339 080 810 580 + 1;
- 339 080 810 580 ÷ 2 = 169 540 405 290 + 0;
- 169 540 405 290 ÷ 2 = 84 770 202 645 + 0;
- 84 770 202 645 ÷ 2 = 42 385 101 322 + 1;
- 42 385 101 322 ÷ 2 = 21 192 550 661 + 0;
- 21 192 550 661 ÷ 2 = 10 596 275 330 + 1;
- 10 596 275 330 ÷ 2 = 5 298 137 665 + 0;
- 5 298 137 665 ÷ 2 = 2 649 068 832 + 1;
- 2 649 068 832 ÷ 2 = 1 324 534 416 + 0;
- 1 324 534 416 ÷ 2 = 662 267 208 + 0;
- 662 267 208 ÷ 2 = 331 133 604 + 0;
- 331 133 604 ÷ 2 = 165 566 802 + 0;
- 165 566 802 ÷ 2 = 82 783 401 + 0;
- 82 783 401 ÷ 2 = 41 391 700 + 1;
- 41 391 700 ÷ 2 = 20 695 850 + 0;
- 20 695 850 ÷ 2 = 10 347 925 + 0;
- 10 347 925 ÷ 2 = 5 173 962 + 1;
- 5 173 962 ÷ 2 = 2 586 981 + 0;
- 2 586 981 ÷ 2 = 1 293 490 + 1;
- 1 293 490 ÷ 2 = 646 745 + 0;
- 646 745 ÷ 2 = 323 372 + 1;
- 323 372 ÷ 2 = 161 686 + 0;
- 161 686 ÷ 2 = 80 843 + 0;
- 80 843 ÷ 2 = 40 421 + 1;
- 40 421 ÷ 2 = 20 210 + 1;
- 20 210 ÷ 2 = 10 105 + 0;
- 10 105 ÷ 2 = 5 052 + 1;
- 5 052 ÷ 2 = 2 526 + 0;
- 2 526 ÷ 2 = 1 263 + 0;
- 1 263 ÷ 2 = 631 + 1;
- 631 ÷ 2 = 315 + 1;
- 315 ÷ 2 = 157 + 1;
- 157 ÷ 2 = 78 + 1;
- 78 ÷ 2 = 39 + 0;
- 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.
11 111 000 001 111 579(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
11 111 000 001 111 579 (base 10) = 10 0111 0111 1001 0110 0101 0100 1000 0010 1010 0110 0110 0001 1011 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.