What are the required steps to convert base 10 decimal system
number 2 810 218 697 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;
- 2 810 218 697 ÷ 2 = 1 405 109 348 + 1;
- 1 405 109 348 ÷ 2 = 702 554 674 + 0;
- 702 554 674 ÷ 2 = 351 277 337 + 0;
- 351 277 337 ÷ 2 = 175 638 668 + 1;
- 175 638 668 ÷ 2 = 87 819 334 + 0;
- 87 819 334 ÷ 2 = 43 909 667 + 0;
- 43 909 667 ÷ 2 = 21 954 833 + 1;
- 21 954 833 ÷ 2 = 10 977 416 + 1;
- 10 977 416 ÷ 2 = 5 488 708 + 0;
- 5 488 708 ÷ 2 = 2 744 354 + 0;
- 2 744 354 ÷ 2 = 1 372 177 + 0;
- 1 372 177 ÷ 2 = 686 088 + 1;
- 686 088 ÷ 2 = 343 044 + 0;
- 343 044 ÷ 2 = 171 522 + 0;
- 171 522 ÷ 2 = 85 761 + 0;
- 85 761 ÷ 2 = 42 880 + 1;
- 42 880 ÷ 2 = 21 440 + 0;
- 21 440 ÷ 2 = 10 720 + 0;
- 10 720 ÷ 2 = 5 360 + 0;
- 5 360 ÷ 2 = 2 680 + 0;
- 2 680 ÷ 2 = 1 340 + 0;
- 1 340 ÷ 2 = 670 + 0;
- 670 ÷ 2 = 335 + 0;
- 335 ÷ 2 = 167 + 1;
- 167 ÷ 2 = 83 + 1;
- 83 ÷ 2 = 41 + 1;
- 41 ÷ 2 = 20 + 1;
- 20 ÷ 2 = 10 + 0;
- 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.
2 810 218 697(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
2 810 218 697 (base 10) = 1010 0111 1000 0000 1000 1000 1100 1001 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.