What are the required steps to convert base 10 decimal system
number 23 423 424 234 326 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 423 424 234 326 ÷ 2 = 11 711 712 117 163 + 0;
- 11 711 712 117 163 ÷ 2 = 5 855 856 058 581 + 1;
- 5 855 856 058 581 ÷ 2 = 2 927 928 029 290 + 1;
- 2 927 928 029 290 ÷ 2 = 1 463 964 014 645 + 0;
- 1 463 964 014 645 ÷ 2 = 731 982 007 322 + 1;
- 731 982 007 322 ÷ 2 = 365 991 003 661 + 0;
- 365 991 003 661 ÷ 2 = 182 995 501 830 + 1;
- 182 995 501 830 ÷ 2 = 91 497 750 915 + 0;
- 91 497 750 915 ÷ 2 = 45 748 875 457 + 1;
- 45 748 875 457 ÷ 2 = 22 874 437 728 + 1;
- 22 874 437 728 ÷ 2 = 11 437 218 864 + 0;
- 11 437 218 864 ÷ 2 = 5 718 609 432 + 0;
- 5 718 609 432 ÷ 2 = 2 859 304 716 + 0;
- 2 859 304 716 ÷ 2 = 1 429 652 358 + 0;
- 1 429 652 358 ÷ 2 = 714 826 179 + 0;
- 714 826 179 ÷ 2 = 357 413 089 + 1;
- 357 413 089 ÷ 2 = 178 706 544 + 1;
- 178 706 544 ÷ 2 = 89 353 272 + 0;
- 89 353 272 ÷ 2 = 44 676 636 + 0;
- 44 676 636 ÷ 2 = 22 338 318 + 0;
- 22 338 318 ÷ 2 = 11 169 159 + 0;
- 11 169 159 ÷ 2 = 5 584 579 + 1;
- 5 584 579 ÷ 2 = 2 792 289 + 1;
- 2 792 289 ÷ 2 = 1 396 144 + 1;
- 1 396 144 ÷ 2 = 698 072 + 0;
- 698 072 ÷ 2 = 349 036 + 0;
- 349 036 ÷ 2 = 174 518 + 0;
- 174 518 ÷ 2 = 87 259 + 0;
- 87 259 ÷ 2 = 43 629 + 1;
- 43 629 ÷ 2 = 21 814 + 1;
- 21 814 ÷ 2 = 10 907 + 0;
- 10 907 ÷ 2 = 5 453 + 1;
- 5 453 ÷ 2 = 2 726 + 1;
- 2 726 ÷ 2 = 1 363 + 0;
- 1 363 ÷ 2 = 681 + 1;
- 681 ÷ 2 = 340 + 1;
- 340 ÷ 2 = 170 + 0;
- 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 423 424 234 326(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
23 423 424 234 326 (base 10) = 1 0101 0100 1101 1011 0000 1110 0001 1000 0011 0101 0110 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.