What are the required steps to convert base 10 decimal system
number 645 654 646 564 109 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;
- 645 654 646 564 109 ÷ 2 = 322 827 323 282 054 + 1;
- 322 827 323 282 054 ÷ 2 = 161 413 661 641 027 + 0;
- 161 413 661 641 027 ÷ 2 = 80 706 830 820 513 + 1;
- 80 706 830 820 513 ÷ 2 = 40 353 415 410 256 + 1;
- 40 353 415 410 256 ÷ 2 = 20 176 707 705 128 + 0;
- 20 176 707 705 128 ÷ 2 = 10 088 353 852 564 + 0;
- 10 088 353 852 564 ÷ 2 = 5 044 176 926 282 + 0;
- 5 044 176 926 282 ÷ 2 = 2 522 088 463 141 + 0;
- 2 522 088 463 141 ÷ 2 = 1 261 044 231 570 + 1;
- 1 261 044 231 570 ÷ 2 = 630 522 115 785 + 0;
- 630 522 115 785 ÷ 2 = 315 261 057 892 + 1;
- 315 261 057 892 ÷ 2 = 157 630 528 946 + 0;
- 157 630 528 946 ÷ 2 = 78 815 264 473 + 0;
- 78 815 264 473 ÷ 2 = 39 407 632 236 + 1;
- 39 407 632 236 ÷ 2 = 19 703 816 118 + 0;
- 19 703 816 118 ÷ 2 = 9 851 908 059 + 0;
- 9 851 908 059 ÷ 2 = 4 925 954 029 + 1;
- 4 925 954 029 ÷ 2 = 2 462 977 014 + 1;
- 2 462 977 014 ÷ 2 = 1 231 488 507 + 0;
- 1 231 488 507 ÷ 2 = 615 744 253 + 1;
- 615 744 253 ÷ 2 = 307 872 126 + 1;
- 307 872 126 ÷ 2 = 153 936 063 + 0;
- 153 936 063 ÷ 2 = 76 968 031 + 1;
- 76 968 031 ÷ 2 = 38 484 015 + 1;
- 38 484 015 ÷ 2 = 19 242 007 + 1;
- 19 242 007 ÷ 2 = 9 621 003 + 1;
- 9 621 003 ÷ 2 = 4 810 501 + 1;
- 4 810 501 ÷ 2 = 2 405 250 + 1;
- 2 405 250 ÷ 2 = 1 202 625 + 0;
- 1 202 625 ÷ 2 = 601 312 + 1;
- 601 312 ÷ 2 = 300 656 + 0;
- 300 656 ÷ 2 = 150 328 + 0;
- 150 328 ÷ 2 = 75 164 + 0;
- 75 164 ÷ 2 = 37 582 + 0;
- 37 582 ÷ 2 = 18 791 + 0;
- 18 791 ÷ 2 = 9 395 + 1;
- 9 395 ÷ 2 = 4 697 + 1;
- 4 697 ÷ 2 = 2 348 + 1;
- 2 348 ÷ 2 = 1 174 + 0;
- 1 174 ÷ 2 = 587 + 0;
- 587 ÷ 2 = 293 + 1;
- 293 ÷ 2 = 146 + 1;
- 146 ÷ 2 = 73 + 0;
- 73 ÷ 2 = 36 + 1;
- 36 ÷ 2 = 18 + 0;
- 18 ÷ 2 = 9 + 0;
- 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.
645 654 646 564 109(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
645 654 646 564 109 (base 10) = 10 0100 1011 0011 1000 0010 1111 1101 1011 0010 0101 0000 1101 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.