What are the required steps to convert base 10 decimal system
number 1 647 019 873 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 647 019 873 ÷ 2 = 823 509 936 + 1;
- 823 509 936 ÷ 2 = 411 754 968 + 0;
- 411 754 968 ÷ 2 = 205 877 484 + 0;
- 205 877 484 ÷ 2 = 102 938 742 + 0;
- 102 938 742 ÷ 2 = 51 469 371 + 0;
- 51 469 371 ÷ 2 = 25 734 685 + 1;
- 25 734 685 ÷ 2 = 12 867 342 + 1;
- 12 867 342 ÷ 2 = 6 433 671 + 0;
- 6 433 671 ÷ 2 = 3 216 835 + 1;
- 3 216 835 ÷ 2 = 1 608 417 + 1;
- 1 608 417 ÷ 2 = 804 208 + 1;
- 804 208 ÷ 2 = 402 104 + 0;
- 402 104 ÷ 2 = 201 052 + 0;
- 201 052 ÷ 2 = 100 526 + 0;
- 100 526 ÷ 2 = 50 263 + 0;
- 50 263 ÷ 2 = 25 131 + 1;
- 25 131 ÷ 2 = 12 565 + 1;
- 12 565 ÷ 2 = 6 282 + 1;
- 6 282 ÷ 2 = 3 141 + 0;
- 3 141 ÷ 2 = 1 570 + 1;
- 1 570 ÷ 2 = 785 + 0;
- 785 ÷ 2 = 392 + 1;
- 392 ÷ 2 = 196 + 0;
- 196 ÷ 2 = 98 + 0;
- 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 647 019 873(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 647 019 873 (base 10) = 110 0010 0010 1011 1000 0111 0110 0001 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.