What are the required steps to convert base 10 decimal system
number 1 658 023 195 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 658 023 195 ÷ 2 = 829 011 597 + 1;
- 829 011 597 ÷ 2 = 414 505 798 + 1;
- 414 505 798 ÷ 2 = 207 252 899 + 0;
- 207 252 899 ÷ 2 = 103 626 449 + 1;
- 103 626 449 ÷ 2 = 51 813 224 + 1;
- 51 813 224 ÷ 2 = 25 906 612 + 0;
- 25 906 612 ÷ 2 = 12 953 306 + 0;
- 12 953 306 ÷ 2 = 6 476 653 + 0;
- 6 476 653 ÷ 2 = 3 238 326 + 1;
- 3 238 326 ÷ 2 = 1 619 163 + 0;
- 1 619 163 ÷ 2 = 809 581 + 1;
- 809 581 ÷ 2 = 404 790 + 1;
- 404 790 ÷ 2 = 202 395 + 0;
- 202 395 ÷ 2 = 101 197 + 1;
- 101 197 ÷ 2 = 50 598 + 1;
- 50 598 ÷ 2 = 25 299 + 0;
- 25 299 ÷ 2 = 12 649 + 1;
- 12 649 ÷ 2 = 6 324 + 1;
- 6 324 ÷ 2 = 3 162 + 0;
- 3 162 ÷ 2 = 1 581 + 0;
- 1 581 ÷ 2 = 790 + 1;
- 790 ÷ 2 = 395 + 0;
- 395 ÷ 2 = 197 + 1;
- 197 ÷ 2 = 98 + 1;
- 98 ÷ 2 = 49 + 0;
- 49 ÷ 2 = 24 + 1;
- 24 ÷ 2 = 12 + 0;
- 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.
1 658 023 195(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 658 023 195 (base 10) = 110 0010 1101 0011 0110 1101 0001 1011 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.