What are the required steps to convert base 10 decimal system
number 18 445 137 433 213 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;
- 18 445 137 433 213 ÷ 2 = 9 222 568 716 606 + 1;
- 9 222 568 716 606 ÷ 2 = 4 611 284 358 303 + 0;
- 4 611 284 358 303 ÷ 2 = 2 305 642 179 151 + 1;
- 2 305 642 179 151 ÷ 2 = 1 152 821 089 575 + 1;
- 1 152 821 089 575 ÷ 2 = 576 410 544 787 + 1;
- 576 410 544 787 ÷ 2 = 288 205 272 393 + 1;
- 288 205 272 393 ÷ 2 = 144 102 636 196 + 1;
- 144 102 636 196 ÷ 2 = 72 051 318 098 + 0;
- 72 051 318 098 ÷ 2 = 36 025 659 049 + 0;
- 36 025 659 049 ÷ 2 = 18 012 829 524 + 1;
- 18 012 829 524 ÷ 2 = 9 006 414 762 + 0;
- 9 006 414 762 ÷ 2 = 4 503 207 381 + 0;
- 4 503 207 381 ÷ 2 = 2 251 603 690 + 1;
- 2 251 603 690 ÷ 2 = 1 125 801 845 + 0;
- 1 125 801 845 ÷ 2 = 562 900 922 + 1;
- 562 900 922 ÷ 2 = 281 450 461 + 0;
- 281 450 461 ÷ 2 = 140 725 230 + 1;
- 140 725 230 ÷ 2 = 70 362 615 + 0;
- 70 362 615 ÷ 2 = 35 181 307 + 1;
- 35 181 307 ÷ 2 = 17 590 653 + 1;
- 17 590 653 ÷ 2 = 8 795 326 + 1;
- 8 795 326 ÷ 2 = 4 397 663 + 0;
- 4 397 663 ÷ 2 = 2 198 831 + 1;
- 2 198 831 ÷ 2 = 1 099 415 + 1;
- 1 099 415 ÷ 2 = 549 707 + 1;
- 549 707 ÷ 2 = 274 853 + 1;
- 274 853 ÷ 2 = 137 426 + 1;
- 137 426 ÷ 2 = 68 713 + 0;
- 68 713 ÷ 2 = 34 356 + 1;
- 34 356 ÷ 2 = 17 178 + 0;
- 17 178 ÷ 2 = 8 589 + 0;
- 8 589 ÷ 2 = 4 294 + 1;
- 4 294 ÷ 2 = 2 147 + 0;
- 2 147 ÷ 2 = 1 073 + 1;
- 1 073 ÷ 2 = 536 + 1;
- 536 ÷ 2 = 268 + 0;
- 268 ÷ 2 = 134 + 0;
- 134 ÷ 2 = 67 + 0;
- 67 ÷ 2 = 33 + 1;
- 33 ÷ 2 = 16 + 1;
- 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.
18 445 137 433 213(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
18 445 137 433 213 (base 10) = 1 0000 1100 0110 1001 0111 1101 1101 0101 0010 0111 1101 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.