What are the required steps to convert base 10 decimal system
number 95 367 431 640 838 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;
- 95 367 431 640 838 ÷ 2 = 47 683 715 820 419 + 0;
- 47 683 715 820 419 ÷ 2 = 23 841 857 910 209 + 1;
- 23 841 857 910 209 ÷ 2 = 11 920 928 955 104 + 1;
- 11 920 928 955 104 ÷ 2 = 5 960 464 477 552 + 0;
- 5 960 464 477 552 ÷ 2 = 2 980 232 238 776 + 0;
- 2 980 232 238 776 ÷ 2 = 1 490 116 119 388 + 0;
- 1 490 116 119 388 ÷ 2 = 745 058 059 694 + 0;
- 745 058 059 694 ÷ 2 = 372 529 029 847 + 0;
- 372 529 029 847 ÷ 2 = 186 264 514 923 + 1;
- 186 264 514 923 ÷ 2 = 93 132 257 461 + 1;
- 93 132 257 461 ÷ 2 = 46 566 128 730 + 1;
- 46 566 128 730 ÷ 2 = 23 283 064 365 + 0;
- 23 283 064 365 ÷ 2 = 11 641 532 182 + 1;
- 11 641 532 182 ÷ 2 = 5 820 766 091 + 0;
- 5 820 766 091 ÷ 2 = 2 910 383 045 + 1;
- 2 910 383 045 ÷ 2 = 1 455 191 522 + 1;
- 1 455 191 522 ÷ 2 = 727 595 761 + 0;
- 727 595 761 ÷ 2 = 363 797 880 + 1;
- 363 797 880 ÷ 2 = 181 898 940 + 0;
- 181 898 940 ÷ 2 = 90 949 470 + 0;
- 90 949 470 ÷ 2 = 45 474 735 + 0;
- 45 474 735 ÷ 2 = 22 737 367 + 1;
- 22 737 367 ÷ 2 = 11 368 683 + 1;
- 11 368 683 ÷ 2 = 5 684 341 + 1;
- 5 684 341 ÷ 2 = 2 842 170 + 1;
- 2 842 170 ÷ 2 = 1 421 085 + 0;
- 1 421 085 ÷ 2 = 710 542 + 1;
- 710 542 ÷ 2 = 355 271 + 0;
- 355 271 ÷ 2 = 177 635 + 1;
- 177 635 ÷ 2 = 88 817 + 1;
- 88 817 ÷ 2 = 44 408 + 1;
- 44 408 ÷ 2 = 22 204 + 0;
- 22 204 ÷ 2 = 11 102 + 0;
- 11 102 ÷ 2 = 5 551 + 0;
- 5 551 ÷ 2 = 2 775 + 1;
- 2 775 ÷ 2 = 1 387 + 1;
- 1 387 ÷ 2 = 693 + 1;
- 693 ÷ 2 = 346 + 1;
- 346 ÷ 2 = 173 + 0;
- 173 ÷ 2 = 86 + 1;
- 86 ÷ 2 = 43 + 0;
- 43 ÷ 2 = 21 + 1;
- 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.
95 367 431 640 838(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
95 367 431 640 838 (base 10) = 101 0110 1011 1100 0111 0101 1110 0010 1101 0111 0000 0110 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.