What are the required steps to convert base 10 decimal system
number 23 458 769 820 311 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;
- 23 458 769 820 311 ÷ 2 = 11 729 384 910 155 + 1;
- 11 729 384 910 155 ÷ 2 = 5 864 692 455 077 + 1;
- 5 864 692 455 077 ÷ 2 = 2 932 346 227 538 + 1;
- 2 932 346 227 538 ÷ 2 = 1 466 173 113 769 + 0;
- 1 466 173 113 769 ÷ 2 = 733 086 556 884 + 1;
- 733 086 556 884 ÷ 2 = 366 543 278 442 + 0;
- 366 543 278 442 ÷ 2 = 183 271 639 221 + 0;
- 183 271 639 221 ÷ 2 = 91 635 819 610 + 1;
- 91 635 819 610 ÷ 2 = 45 817 909 805 + 0;
- 45 817 909 805 ÷ 2 = 22 908 954 902 + 1;
- 22 908 954 902 ÷ 2 = 11 454 477 451 + 0;
- 11 454 477 451 ÷ 2 = 5 727 238 725 + 1;
- 5 727 238 725 ÷ 2 = 2 863 619 362 + 1;
- 2 863 619 362 ÷ 2 = 1 431 809 681 + 0;
- 1 431 809 681 ÷ 2 = 715 904 840 + 1;
- 715 904 840 ÷ 2 = 357 952 420 + 0;
- 357 952 420 ÷ 2 = 178 976 210 + 0;
- 178 976 210 ÷ 2 = 89 488 105 + 0;
- 89 488 105 ÷ 2 = 44 744 052 + 1;
- 44 744 052 ÷ 2 = 22 372 026 + 0;
- 22 372 026 ÷ 2 = 11 186 013 + 0;
- 11 186 013 ÷ 2 = 5 593 006 + 1;
- 5 593 006 ÷ 2 = 2 796 503 + 0;
- 2 796 503 ÷ 2 = 1 398 251 + 1;
- 1 398 251 ÷ 2 = 699 125 + 1;
- 699 125 ÷ 2 = 349 562 + 1;
- 349 562 ÷ 2 = 174 781 + 0;
- 174 781 ÷ 2 = 87 390 + 1;
- 87 390 ÷ 2 = 43 695 + 0;
- 43 695 ÷ 2 = 21 847 + 1;
- 21 847 ÷ 2 = 10 923 + 1;
- 10 923 ÷ 2 = 5 461 + 1;
- 5 461 ÷ 2 = 2 730 + 1;
- 2 730 ÷ 2 = 1 365 + 0;
- 1 365 ÷ 2 = 682 + 1;
- 682 ÷ 2 = 341 + 0;
- 341 ÷ 2 = 170 + 1;
- 170 ÷ 2 = 85 + 0;
- 85 ÷ 2 = 42 + 1;
- 42 ÷ 2 = 21 + 0;
- 21 ÷ 2 = 10 + 1;
- 10 ÷ 2 = 5 + 0;
- 5 ÷ 2 = 2 + 1;
- 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.
23 458 769 820 311(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
23 458 769 820 311 (base 10) = 1 0101 0101 0101 1110 1011 1010 0100 0101 1010 1001 0111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.