What are the required steps to convert base 10 decimal system
number 2 345 679 533 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 533 ÷ 2 = 1 172 839 766 + 1;
- 1 172 839 766 ÷ 2 = 586 419 883 + 0;
- 586 419 883 ÷ 2 = 293 209 941 + 1;
- 293 209 941 ÷ 2 = 146 604 970 + 1;
- 146 604 970 ÷ 2 = 73 302 485 + 0;
- 73 302 485 ÷ 2 = 36 651 242 + 1;
- 36 651 242 ÷ 2 = 18 325 621 + 0;
- 18 325 621 ÷ 2 = 9 162 810 + 1;
- 9 162 810 ÷ 2 = 4 581 405 + 0;
- 4 581 405 ÷ 2 = 2 290 702 + 1;
- 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 533(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
2 345 679 533 (base 10) = 1000 1011 1101 0000 0011 1010 1010 1101 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.