What are the required steps to convert base 10 decimal system
number 1 059 481 180 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 059 481 180 ÷ 2 = 529 740 590 + 0;
- 529 740 590 ÷ 2 = 264 870 295 + 0;
- 264 870 295 ÷ 2 = 132 435 147 + 1;
- 132 435 147 ÷ 2 = 66 217 573 + 1;
- 66 217 573 ÷ 2 = 33 108 786 + 1;
- 33 108 786 ÷ 2 = 16 554 393 + 0;
- 16 554 393 ÷ 2 = 8 277 196 + 1;
- 8 277 196 ÷ 2 = 4 138 598 + 0;
- 4 138 598 ÷ 2 = 2 069 299 + 0;
- 2 069 299 ÷ 2 = 1 034 649 + 1;
- 1 034 649 ÷ 2 = 517 324 + 1;
- 517 324 ÷ 2 = 258 662 + 0;
- 258 662 ÷ 2 = 129 331 + 0;
- 129 331 ÷ 2 = 64 665 + 1;
- 64 665 ÷ 2 = 32 332 + 1;
- 32 332 ÷ 2 = 16 166 + 0;
- 16 166 ÷ 2 = 8 083 + 0;
- 8 083 ÷ 2 = 4 041 + 1;
- 4 041 ÷ 2 = 2 020 + 1;
- 2 020 ÷ 2 = 1 010 + 0;
- 1 010 ÷ 2 = 505 + 0;
- 505 ÷ 2 = 252 + 1;
- 252 ÷ 2 = 126 + 0;
- 126 ÷ 2 = 63 + 0;
- 63 ÷ 2 = 31 + 1;
- 31 ÷ 2 = 15 + 1;
- 15 ÷ 2 = 7 + 1;
- 7 ÷ 2 = 3 + 1;
- 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.
1 059 481 180(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 059 481 180 (base 10) = 11 1111 0010 0110 0110 0110 0101 1100 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.