What are the required steps to convert base 10 decimal system
number 3 405 691 689 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;
- 3 405 691 689 ÷ 2 = 1 702 845 844 + 1;
- 1 702 845 844 ÷ 2 = 851 422 922 + 0;
- 851 422 922 ÷ 2 = 425 711 461 + 0;
- 425 711 461 ÷ 2 = 212 855 730 + 1;
- 212 855 730 ÷ 2 = 106 427 865 + 0;
- 106 427 865 ÷ 2 = 53 213 932 + 1;
- 53 213 932 ÷ 2 = 26 606 966 + 0;
- 26 606 966 ÷ 2 = 13 303 483 + 0;
- 13 303 483 ÷ 2 = 6 651 741 + 1;
- 6 651 741 ÷ 2 = 3 325 870 + 1;
- 3 325 870 ÷ 2 = 1 662 935 + 0;
- 1 662 935 ÷ 2 = 831 467 + 1;
- 831 467 ÷ 2 = 415 733 + 1;
- 415 733 ÷ 2 = 207 866 + 1;
- 207 866 ÷ 2 = 103 933 + 0;
- 103 933 ÷ 2 = 51 966 + 1;
- 51 966 ÷ 2 = 25 983 + 0;
- 25 983 ÷ 2 = 12 991 + 1;
- 12 991 ÷ 2 = 6 495 + 1;
- 6 495 ÷ 2 = 3 247 + 1;
- 3 247 ÷ 2 = 1 623 + 1;
- 1 623 ÷ 2 = 811 + 1;
- 811 ÷ 2 = 405 + 1;
- 405 ÷ 2 = 202 + 1;
- 202 ÷ 2 = 101 + 0;
- 101 ÷ 2 = 50 + 1;
- 50 ÷ 2 = 25 + 0;
- 25 ÷ 2 = 12 + 1;
- 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.
3 405 691 689(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
3 405 691 689 (base 10) = 1100 1010 1111 1110 1011 1011 0010 1001 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.