What are the required steps to convert base 10 decimal system
number 620 087 546 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;
- 620 087 546 ÷ 2 = 310 043 773 + 0;
- 310 043 773 ÷ 2 = 155 021 886 + 1;
- 155 021 886 ÷ 2 = 77 510 943 + 0;
- 77 510 943 ÷ 2 = 38 755 471 + 1;
- 38 755 471 ÷ 2 = 19 377 735 + 1;
- 19 377 735 ÷ 2 = 9 688 867 + 1;
- 9 688 867 ÷ 2 = 4 844 433 + 1;
- 4 844 433 ÷ 2 = 2 422 216 + 1;
- 2 422 216 ÷ 2 = 1 211 108 + 0;
- 1 211 108 ÷ 2 = 605 554 + 0;
- 605 554 ÷ 2 = 302 777 + 0;
- 302 777 ÷ 2 = 151 388 + 1;
- 151 388 ÷ 2 = 75 694 + 0;
- 75 694 ÷ 2 = 37 847 + 0;
- 37 847 ÷ 2 = 18 923 + 1;
- 18 923 ÷ 2 = 9 461 + 1;
- 9 461 ÷ 2 = 4 730 + 1;
- 4 730 ÷ 2 = 2 365 + 0;
- 2 365 ÷ 2 = 1 182 + 1;
- 1 182 ÷ 2 = 591 + 0;
- 591 ÷ 2 = 295 + 1;
- 295 ÷ 2 = 147 + 1;
- 147 ÷ 2 = 73 + 1;
- 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.
620 087 546(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
620 087 546 (base 10) = 10 0100 1111 0101 1100 1000 1111 1010 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.