What are the required steps to convert base 10 decimal system
number 111 111 011 100 865 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;
- 111 111 011 100 865 ÷ 2 = 55 555 505 550 432 + 1;
- 55 555 505 550 432 ÷ 2 = 27 777 752 775 216 + 0;
- 27 777 752 775 216 ÷ 2 = 13 888 876 387 608 + 0;
- 13 888 876 387 608 ÷ 2 = 6 944 438 193 804 + 0;
- 6 944 438 193 804 ÷ 2 = 3 472 219 096 902 + 0;
- 3 472 219 096 902 ÷ 2 = 1 736 109 548 451 + 0;
- 1 736 109 548 451 ÷ 2 = 868 054 774 225 + 1;
- 868 054 774 225 ÷ 2 = 434 027 387 112 + 1;
- 434 027 387 112 ÷ 2 = 217 013 693 556 + 0;
- 217 013 693 556 ÷ 2 = 108 506 846 778 + 0;
- 108 506 846 778 ÷ 2 = 54 253 423 389 + 0;
- 54 253 423 389 ÷ 2 = 27 126 711 694 + 1;
- 27 126 711 694 ÷ 2 = 13 563 355 847 + 0;
- 13 563 355 847 ÷ 2 = 6 781 677 923 + 1;
- 6 781 677 923 ÷ 2 = 3 390 838 961 + 1;
- 3 390 838 961 ÷ 2 = 1 695 419 480 + 1;
- 1 695 419 480 ÷ 2 = 847 709 740 + 0;
- 847 709 740 ÷ 2 = 423 854 870 + 0;
- 423 854 870 ÷ 2 = 211 927 435 + 0;
- 211 927 435 ÷ 2 = 105 963 717 + 1;
- 105 963 717 ÷ 2 = 52 981 858 + 1;
- 52 981 858 ÷ 2 = 26 490 929 + 0;
- 26 490 929 ÷ 2 = 13 245 464 + 1;
- 13 245 464 ÷ 2 = 6 622 732 + 0;
- 6 622 732 ÷ 2 = 3 311 366 + 0;
- 3 311 366 ÷ 2 = 1 655 683 + 0;
- 1 655 683 ÷ 2 = 827 841 + 1;
- 827 841 ÷ 2 = 413 920 + 1;
- 413 920 ÷ 2 = 206 960 + 0;
- 206 960 ÷ 2 = 103 480 + 0;
- 103 480 ÷ 2 = 51 740 + 0;
- 51 740 ÷ 2 = 25 870 + 0;
- 25 870 ÷ 2 = 12 935 + 0;
- 12 935 ÷ 2 = 6 467 + 1;
- 6 467 ÷ 2 = 3 233 + 1;
- 3 233 ÷ 2 = 1 616 + 1;
- 1 616 ÷ 2 = 808 + 0;
- 808 ÷ 2 = 404 + 0;
- 404 ÷ 2 = 202 + 0;
- 202 ÷ 2 = 101 + 0;
- 101 ÷ 2 = 50 + 1;
- 50 ÷ 2 = 25 + 0;
- 25 ÷ 2 = 12 + 1;
- 12 ÷ 2 = 6 + 0;
- 6 ÷ 2 = 3 + 0;
- 3 ÷ 2 = 1 + 1;
- 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.
111 111 011 100 865(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
111 111 011 100 865 (base 10) = 110 0101 0000 1110 0000 1100 0101 1000 1110 1000 1100 0001 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.