What are the required steps to convert base 10 decimal system
number 1 499 999 972 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 499 999 972 ÷ 2 = 749 999 986 + 0;
- 749 999 986 ÷ 2 = 374 999 993 + 0;
- 374 999 993 ÷ 2 = 187 499 996 + 1;
- 187 499 996 ÷ 2 = 93 749 998 + 0;
- 93 749 998 ÷ 2 = 46 874 999 + 0;
- 46 874 999 ÷ 2 = 23 437 499 + 1;
- 23 437 499 ÷ 2 = 11 718 749 + 1;
- 11 718 749 ÷ 2 = 5 859 374 + 1;
- 5 859 374 ÷ 2 = 2 929 687 + 0;
- 2 929 687 ÷ 2 = 1 464 843 + 1;
- 1 464 843 ÷ 2 = 732 421 + 1;
- 732 421 ÷ 2 = 366 210 + 1;
- 366 210 ÷ 2 = 183 105 + 0;
- 183 105 ÷ 2 = 91 552 + 1;
- 91 552 ÷ 2 = 45 776 + 0;
- 45 776 ÷ 2 = 22 888 + 0;
- 22 888 ÷ 2 = 11 444 + 0;
- 11 444 ÷ 2 = 5 722 + 0;
- 5 722 ÷ 2 = 2 861 + 0;
- 2 861 ÷ 2 = 1 430 + 1;
- 1 430 ÷ 2 = 715 + 0;
- 715 ÷ 2 = 357 + 1;
- 357 ÷ 2 = 178 + 1;
- 178 ÷ 2 = 89 + 0;
- 89 ÷ 2 = 44 + 1;
- 44 ÷ 2 = 22 + 0;
- 22 ÷ 2 = 11 + 0;
- 11 ÷ 2 = 5 + 1;
- 5 ÷ 2 = 2 + 1;
- 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.
1 499 999 972(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 499 999 972 (base 10) = 101 1001 0110 1000 0010 1110 1110 0100 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.