What are the required steps to convert base 10 decimal system
number 2 345 679 114 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;
- 2 345 679 114 ÷ 2 = 1 172 839 557 + 0;
- 1 172 839 557 ÷ 2 = 586 419 778 + 1;
- 586 419 778 ÷ 2 = 293 209 889 + 0;
- 293 209 889 ÷ 2 = 146 604 944 + 1;
- 146 604 944 ÷ 2 = 73 302 472 + 0;
- 73 302 472 ÷ 2 = 36 651 236 + 0;
- 36 651 236 ÷ 2 = 18 325 618 + 0;
- 18 325 618 ÷ 2 = 9 162 809 + 0;
- 9 162 809 ÷ 2 = 4 581 404 + 1;
- 4 581 404 ÷ 2 = 2 290 702 + 0;
- 2 290 702 ÷ 2 = 1 145 351 + 0;
- 1 145 351 ÷ 2 = 572 675 + 1;
- 572 675 ÷ 2 = 286 337 + 1;
- 286 337 ÷ 2 = 143 168 + 1;
- 143 168 ÷ 2 = 71 584 + 0;
- 71 584 ÷ 2 = 35 792 + 0;
- 35 792 ÷ 2 = 17 896 + 0;
- 17 896 ÷ 2 = 8 948 + 0;
- 8 948 ÷ 2 = 4 474 + 0;
- 4 474 ÷ 2 = 2 237 + 0;
- 2 237 ÷ 2 = 1 118 + 1;
- 1 118 ÷ 2 = 559 + 0;
- 559 ÷ 2 = 279 + 1;
- 279 ÷ 2 = 139 + 1;
- 139 ÷ 2 = 69 + 1;
- 69 ÷ 2 = 34 + 1;
- 34 ÷ 2 = 17 + 0;
- 17 ÷ 2 = 8 + 1;
- 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.
2 345 679 114(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
2 345 679 114 (base 10) = 1000 1011 1101 0000 0011 1001 0000 1010 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.