What are the required steps to convert base 10 decimal system
number 671 088 639 664 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;
- 671 088 639 664 ÷ 2 = 335 544 319 832 + 0;
- 335 544 319 832 ÷ 2 = 167 772 159 916 + 0;
- 167 772 159 916 ÷ 2 = 83 886 079 958 + 0;
- 83 886 079 958 ÷ 2 = 41 943 039 979 + 0;
- 41 943 039 979 ÷ 2 = 20 971 519 989 + 1;
- 20 971 519 989 ÷ 2 = 10 485 759 994 + 1;
- 10 485 759 994 ÷ 2 = 5 242 879 997 + 0;
- 5 242 879 997 ÷ 2 = 2 621 439 998 + 1;
- 2 621 439 998 ÷ 2 = 1 310 719 999 + 0;
- 1 310 719 999 ÷ 2 = 655 359 999 + 1;
- 655 359 999 ÷ 2 = 327 679 999 + 1;
- 327 679 999 ÷ 2 = 163 839 999 + 1;
- 163 839 999 ÷ 2 = 81 919 999 + 1;
- 81 919 999 ÷ 2 = 40 959 999 + 1;
- 40 959 999 ÷ 2 = 20 479 999 + 1;
- 20 479 999 ÷ 2 = 10 239 999 + 1;
- 10 239 999 ÷ 2 = 5 119 999 + 1;
- 5 119 999 ÷ 2 = 2 559 999 + 1;
- 2 559 999 ÷ 2 = 1 279 999 + 1;
- 1 279 999 ÷ 2 = 639 999 + 1;
- 639 999 ÷ 2 = 319 999 + 1;
- 319 999 ÷ 2 = 159 999 + 1;
- 159 999 ÷ 2 = 79 999 + 1;
- 79 999 ÷ 2 = 39 999 + 1;
- 39 999 ÷ 2 = 19 999 + 1;
- 19 999 ÷ 2 = 9 999 + 1;
- 9 999 ÷ 2 = 4 999 + 1;
- 4 999 ÷ 2 = 2 499 + 1;
- 2 499 ÷ 2 = 1 249 + 1;
- 1 249 ÷ 2 = 624 + 1;
- 624 ÷ 2 = 312 + 0;
- 312 ÷ 2 = 156 + 0;
- 156 ÷ 2 = 78 + 0;
- 78 ÷ 2 = 39 + 0;
- 39 ÷ 2 = 19 + 1;
- 19 ÷ 2 = 9 + 1;
- 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.
671 088 639 664(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
671 088 639 664 (base 10) = 1001 1100 0011 1111 1111 1111 1111 1110 1011 0000 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.