What are the required steps to convert base 10 decimal system
number 2 249 999 999 997 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 249 999 999 997 ÷ 2 = 1 124 999 999 998 + 1;
- 1 124 999 999 998 ÷ 2 = 562 499 999 999 + 0;
- 562 499 999 999 ÷ 2 = 281 249 999 999 + 1;
- 281 249 999 999 ÷ 2 = 140 624 999 999 + 1;
- 140 624 999 999 ÷ 2 = 70 312 499 999 + 1;
- 70 312 499 999 ÷ 2 = 35 156 249 999 + 1;
- 35 156 249 999 ÷ 2 = 17 578 124 999 + 1;
- 17 578 124 999 ÷ 2 = 8 789 062 499 + 1;
- 8 789 062 499 ÷ 2 = 4 394 531 249 + 1;
- 4 394 531 249 ÷ 2 = 2 197 265 624 + 1;
- 2 197 265 624 ÷ 2 = 1 098 632 812 + 0;
- 1 098 632 812 ÷ 2 = 549 316 406 + 0;
- 549 316 406 ÷ 2 = 274 658 203 + 0;
- 274 658 203 ÷ 2 = 137 329 101 + 1;
- 137 329 101 ÷ 2 = 68 664 550 + 1;
- 68 664 550 ÷ 2 = 34 332 275 + 0;
- 34 332 275 ÷ 2 = 17 166 137 + 1;
- 17 166 137 ÷ 2 = 8 583 068 + 1;
- 8 583 068 ÷ 2 = 4 291 534 + 0;
- 4 291 534 ÷ 2 = 2 145 767 + 0;
- 2 145 767 ÷ 2 = 1 072 883 + 1;
- 1 072 883 ÷ 2 = 536 441 + 1;
- 536 441 ÷ 2 = 268 220 + 1;
- 268 220 ÷ 2 = 134 110 + 0;
- 134 110 ÷ 2 = 67 055 + 0;
- 67 055 ÷ 2 = 33 527 + 1;
- 33 527 ÷ 2 = 16 763 + 1;
- 16 763 ÷ 2 = 8 381 + 1;
- 8 381 ÷ 2 = 4 190 + 1;
- 4 190 ÷ 2 = 2 095 + 0;
- 2 095 ÷ 2 = 1 047 + 1;
- 1 047 ÷ 2 = 523 + 1;
- 523 ÷ 2 = 261 + 1;
- 261 ÷ 2 = 130 + 1;
- 130 ÷ 2 = 65 + 0;
- 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.
2 249 999 999 997(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
2 249 999 999 997 (base 10) = 10 0000 1011 1101 1110 0111 0011 0110 0011 1111 1101 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.