What are the required steps to convert base 10 decimal system
number 642 285 556 465 053 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;
- 642 285 556 465 053 ÷ 2 = 321 142 778 232 526 + 1;
- 321 142 778 232 526 ÷ 2 = 160 571 389 116 263 + 0;
- 160 571 389 116 263 ÷ 2 = 80 285 694 558 131 + 1;
- 80 285 694 558 131 ÷ 2 = 40 142 847 279 065 + 1;
- 40 142 847 279 065 ÷ 2 = 20 071 423 639 532 + 1;
- 20 071 423 639 532 ÷ 2 = 10 035 711 819 766 + 0;
- 10 035 711 819 766 ÷ 2 = 5 017 855 909 883 + 0;
- 5 017 855 909 883 ÷ 2 = 2 508 927 954 941 + 1;
- 2 508 927 954 941 ÷ 2 = 1 254 463 977 470 + 1;
- 1 254 463 977 470 ÷ 2 = 627 231 988 735 + 0;
- 627 231 988 735 ÷ 2 = 313 615 994 367 + 1;
- 313 615 994 367 ÷ 2 = 156 807 997 183 + 1;
- 156 807 997 183 ÷ 2 = 78 403 998 591 + 1;
- 78 403 998 591 ÷ 2 = 39 201 999 295 + 1;
- 39 201 999 295 ÷ 2 = 19 600 999 647 + 1;
- 19 600 999 647 ÷ 2 = 9 800 499 823 + 1;
- 9 800 499 823 ÷ 2 = 4 900 249 911 + 1;
- 4 900 249 911 ÷ 2 = 2 450 124 955 + 1;
- 2 450 124 955 ÷ 2 = 1 225 062 477 + 1;
- 1 225 062 477 ÷ 2 = 612 531 238 + 1;
- 612 531 238 ÷ 2 = 306 265 619 + 0;
- 306 265 619 ÷ 2 = 153 132 809 + 1;
- 153 132 809 ÷ 2 = 76 566 404 + 1;
- 76 566 404 ÷ 2 = 38 283 202 + 0;
- 38 283 202 ÷ 2 = 19 141 601 + 0;
- 19 141 601 ÷ 2 = 9 570 800 + 1;
- 9 570 800 ÷ 2 = 4 785 400 + 0;
- 4 785 400 ÷ 2 = 2 392 700 + 0;
- 2 392 700 ÷ 2 = 1 196 350 + 0;
- 1 196 350 ÷ 2 = 598 175 + 0;
- 598 175 ÷ 2 = 299 087 + 1;
- 299 087 ÷ 2 = 149 543 + 1;
- 149 543 ÷ 2 = 74 771 + 1;
- 74 771 ÷ 2 = 37 385 + 1;
- 37 385 ÷ 2 = 18 692 + 1;
- 18 692 ÷ 2 = 9 346 + 0;
- 9 346 ÷ 2 = 4 673 + 0;
- 4 673 ÷ 2 = 2 336 + 1;
- 2 336 ÷ 2 = 1 168 + 0;
- 1 168 ÷ 2 = 584 + 0;
- 584 ÷ 2 = 292 + 0;
- 292 ÷ 2 = 146 + 0;
- 146 ÷ 2 = 73 + 0;
- 73 ÷ 2 = 36 + 1;
- 36 ÷ 2 = 18 + 0;
- 18 ÷ 2 = 9 + 0;
- 9 ÷ 2 = 4 + 1;
- 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.
642 285 556 465 053(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
642 285 556 465 053 (base 10) = 10 0100 1000 0010 0111 1100 0010 0110 1111 1111 1101 1001 1101 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.