What are the required steps to convert base 10 decimal system
number 1 499 560 296 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 560 296 ÷ 2 = 749 780 148 + 0;
- 749 780 148 ÷ 2 = 374 890 074 + 0;
- 374 890 074 ÷ 2 = 187 445 037 + 0;
- 187 445 037 ÷ 2 = 93 722 518 + 1;
- 93 722 518 ÷ 2 = 46 861 259 + 0;
- 46 861 259 ÷ 2 = 23 430 629 + 1;
- 23 430 629 ÷ 2 = 11 715 314 + 1;
- 11 715 314 ÷ 2 = 5 857 657 + 0;
- 5 857 657 ÷ 2 = 2 928 828 + 1;
- 2 928 828 ÷ 2 = 1 464 414 + 0;
- 1 464 414 ÷ 2 = 732 207 + 0;
- 732 207 ÷ 2 = 366 103 + 1;
- 366 103 ÷ 2 = 183 051 + 1;
- 183 051 ÷ 2 = 91 525 + 1;
- 91 525 ÷ 2 = 45 762 + 1;
- 45 762 ÷ 2 = 22 881 + 0;
- 22 881 ÷ 2 = 11 440 + 1;
- 11 440 ÷ 2 = 5 720 + 0;
- 5 720 ÷ 2 = 2 860 + 0;
- 2 860 ÷ 2 = 1 430 + 0;
- 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 560 296(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 499 560 296 (base 10) = 101 1001 0110 0001 0111 1001 0110 1000 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.