What are the required steps to convert base 10 decimal system
number 1 099 653 158 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 099 653 158 ÷ 2 = 549 826 579 + 0;
- 549 826 579 ÷ 2 = 274 913 289 + 1;
- 274 913 289 ÷ 2 = 137 456 644 + 1;
- 137 456 644 ÷ 2 = 68 728 322 + 0;
- 68 728 322 ÷ 2 = 34 364 161 + 0;
- 34 364 161 ÷ 2 = 17 182 080 + 1;
- 17 182 080 ÷ 2 = 8 591 040 + 0;
- 8 591 040 ÷ 2 = 4 295 520 + 0;
- 4 295 520 ÷ 2 = 2 147 760 + 0;
- 2 147 760 ÷ 2 = 1 073 880 + 0;
- 1 073 880 ÷ 2 = 536 940 + 0;
- 536 940 ÷ 2 = 268 470 + 0;
- 268 470 ÷ 2 = 134 235 + 0;
- 134 235 ÷ 2 = 67 117 + 1;
- 67 117 ÷ 2 = 33 558 + 1;
- 33 558 ÷ 2 = 16 779 + 0;
- 16 779 ÷ 2 = 8 389 + 1;
- 8 389 ÷ 2 = 4 194 + 1;
- 4 194 ÷ 2 = 2 097 + 0;
- 2 097 ÷ 2 = 1 048 + 1;
- 1 048 ÷ 2 = 524 + 0;
- 524 ÷ 2 = 262 + 0;
- 262 ÷ 2 = 131 + 0;
- 131 ÷ 2 = 65 + 1;
- 65 ÷ 2 = 32 + 1;
- 32 ÷ 2 = 16 + 0;
- 16 ÷ 2 = 8 + 0;
- 8 ÷ 2 = 4 + 0;
- 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.
1 099 653 158(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 099 653 158 (base 10) = 100 0001 1000 1011 0110 0000 0010 0110 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.