What are the required steps to convert base 10 decimal system
number 3 405 691 390 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 390 ÷ 2 = 1 702 845 695 + 0;
- 1 702 845 695 ÷ 2 = 851 422 847 + 1;
- 851 422 847 ÷ 2 = 425 711 423 + 1;
- 425 711 423 ÷ 2 = 212 855 711 + 1;
- 212 855 711 ÷ 2 = 106 427 855 + 1;
- 106 427 855 ÷ 2 = 53 213 927 + 1;
- 53 213 927 ÷ 2 = 26 606 963 + 1;
- 26 606 963 ÷ 2 = 13 303 481 + 1;
- 13 303 481 ÷ 2 = 6 651 740 + 1;
- 6 651 740 ÷ 2 = 3 325 870 + 0;
- 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 390(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
3 405 691 390 (base 10) = 1100 1010 1111 1110 1011 1001 1111 1110 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.