What are the required steps to convert base 10 decimal system
number 139 489 488 787 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;
- 139 489 488 787 ÷ 2 = 69 744 744 393 + 1;
- 69 744 744 393 ÷ 2 = 34 872 372 196 + 1;
- 34 872 372 196 ÷ 2 = 17 436 186 098 + 0;
- 17 436 186 098 ÷ 2 = 8 718 093 049 + 0;
- 8 718 093 049 ÷ 2 = 4 359 046 524 + 1;
- 4 359 046 524 ÷ 2 = 2 179 523 262 + 0;
- 2 179 523 262 ÷ 2 = 1 089 761 631 + 0;
- 1 089 761 631 ÷ 2 = 544 880 815 + 1;
- 544 880 815 ÷ 2 = 272 440 407 + 1;
- 272 440 407 ÷ 2 = 136 220 203 + 1;
- 136 220 203 ÷ 2 = 68 110 101 + 1;
- 68 110 101 ÷ 2 = 34 055 050 + 1;
- 34 055 050 ÷ 2 = 17 027 525 + 0;
- 17 027 525 ÷ 2 = 8 513 762 + 1;
- 8 513 762 ÷ 2 = 4 256 881 + 0;
- 4 256 881 ÷ 2 = 2 128 440 + 1;
- 2 128 440 ÷ 2 = 1 064 220 + 0;
- 1 064 220 ÷ 2 = 532 110 + 0;
- 532 110 ÷ 2 = 266 055 + 0;
- 266 055 ÷ 2 = 133 027 + 1;
- 133 027 ÷ 2 = 66 513 + 1;
- 66 513 ÷ 2 = 33 256 + 1;
- 33 256 ÷ 2 = 16 628 + 0;
- 16 628 ÷ 2 = 8 314 + 0;
- 8 314 ÷ 2 = 4 157 + 0;
- 4 157 ÷ 2 = 2 078 + 1;
- 2 078 ÷ 2 = 1 039 + 0;
- 1 039 ÷ 2 = 519 + 1;
- 519 ÷ 2 = 259 + 1;
- 259 ÷ 2 = 129 + 1;
- 129 ÷ 2 = 64 + 1;
- 64 ÷ 2 = 32 + 0;
- 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.
139 489 488 787(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
139 489 488 787 (base 10) = 10 0000 0111 1010 0011 1000 1010 1111 1001 0011 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.