What are the required steps to convert base 10 decimal system
number 19 216 809 635 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;
- 19 216 809 635 ÷ 2 = 9 608 404 817 + 1;
- 9 608 404 817 ÷ 2 = 4 804 202 408 + 1;
- 4 804 202 408 ÷ 2 = 2 402 101 204 + 0;
- 2 402 101 204 ÷ 2 = 1 201 050 602 + 0;
- 1 201 050 602 ÷ 2 = 600 525 301 + 0;
- 600 525 301 ÷ 2 = 300 262 650 + 1;
- 300 262 650 ÷ 2 = 150 131 325 + 0;
- 150 131 325 ÷ 2 = 75 065 662 + 1;
- 75 065 662 ÷ 2 = 37 532 831 + 0;
- 37 532 831 ÷ 2 = 18 766 415 + 1;
- 18 766 415 ÷ 2 = 9 383 207 + 1;
- 9 383 207 ÷ 2 = 4 691 603 + 1;
- 4 691 603 ÷ 2 = 2 345 801 + 1;
- 2 345 801 ÷ 2 = 1 172 900 + 1;
- 1 172 900 ÷ 2 = 586 450 + 0;
- 586 450 ÷ 2 = 293 225 + 0;
- 293 225 ÷ 2 = 146 612 + 1;
- 146 612 ÷ 2 = 73 306 + 0;
- 73 306 ÷ 2 = 36 653 + 0;
- 36 653 ÷ 2 = 18 326 + 1;
- 18 326 ÷ 2 = 9 163 + 0;
- 9 163 ÷ 2 = 4 581 + 1;
- 4 581 ÷ 2 = 2 290 + 1;
- 2 290 ÷ 2 = 1 145 + 0;
- 1 145 ÷ 2 = 572 + 1;
- 572 ÷ 2 = 286 + 0;
- 286 ÷ 2 = 143 + 0;
- 143 ÷ 2 = 71 + 1;
- 71 ÷ 2 = 35 + 1;
- 35 ÷ 2 = 17 + 1;
- 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.
19 216 809 635(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
19 216 809 635 (base 10) = 100 0111 1001 0110 1001 0011 1110 1010 0011 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.