What are the required steps to convert base 10 decimal system
number 1 044 999 612 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;
- 1 044 999 612 ÷ 2 = 522 499 806 + 0;
- 522 499 806 ÷ 2 = 261 249 903 + 0;
- 261 249 903 ÷ 2 = 130 624 951 + 1;
- 130 624 951 ÷ 2 = 65 312 475 + 1;
- 65 312 475 ÷ 2 = 32 656 237 + 1;
- 32 656 237 ÷ 2 = 16 328 118 + 1;
- 16 328 118 ÷ 2 = 8 164 059 + 0;
- 8 164 059 ÷ 2 = 4 082 029 + 1;
- 4 082 029 ÷ 2 = 2 041 014 + 1;
- 2 041 014 ÷ 2 = 1 020 507 + 0;
- 1 020 507 ÷ 2 = 510 253 + 1;
- 510 253 ÷ 2 = 255 126 + 1;
- 255 126 ÷ 2 = 127 563 + 0;
- 127 563 ÷ 2 = 63 781 + 1;
- 63 781 ÷ 2 = 31 890 + 1;
- 31 890 ÷ 2 = 15 945 + 0;
- 15 945 ÷ 2 = 7 972 + 1;
- 7 972 ÷ 2 = 3 986 + 0;
- 3 986 ÷ 2 = 1 993 + 0;
- 1 993 ÷ 2 = 996 + 1;
- 996 ÷ 2 = 498 + 0;
- 498 ÷ 2 = 249 + 0;
- 249 ÷ 2 = 124 + 1;
- 124 ÷ 2 = 62 + 0;
- 62 ÷ 2 = 31 + 0;
- 31 ÷ 2 = 15 + 1;
- 15 ÷ 2 = 7 + 1;
- 7 ÷ 2 = 3 + 1;
- 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.
1 044 999 612(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 044 999 612 (base 10) = 11 1110 0100 1001 0110 1101 1011 1100 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.