What are the required steps to convert base 10 decimal system
number 1 221 131 002 000 322 363 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;
- 1 221 131 002 000 322 363 ÷ 2 = 610 565 501 000 161 181 + 1;
- 610 565 501 000 161 181 ÷ 2 = 305 282 750 500 080 590 + 1;
- 305 282 750 500 080 590 ÷ 2 = 152 641 375 250 040 295 + 0;
- 152 641 375 250 040 295 ÷ 2 = 76 320 687 625 020 147 + 1;
- 76 320 687 625 020 147 ÷ 2 = 38 160 343 812 510 073 + 1;
- 38 160 343 812 510 073 ÷ 2 = 19 080 171 906 255 036 + 1;
- 19 080 171 906 255 036 ÷ 2 = 9 540 085 953 127 518 + 0;
- 9 540 085 953 127 518 ÷ 2 = 4 770 042 976 563 759 + 0;
- 4 770 042 976 563 759 ÷ 2 = 2 385 021 488 281 879 + 1;
- 2 385 021 488 281 879 ÷ 2 = 1 192 510 744 140 939 + 1;
- 1 192 510 744 140 939 ÷ 2 = 596 255 372 070 469 + 1;
- 596 255 372 070 469 ÷ 2 = 298 127 686 035 234 + 1;
- 298 127 686 035 234 ÷ 2 = 149 063 843 017 617 + 0;
- 149 063 843 017 617 ÷ 2 = 74 531 921 508 808 + 1;
- 74 531 921 508 808 ÷ 2 = 37 265 960 754 404 + 0;
- 37 265 960 754 404 ÷ 2 = 18 632 980 377 202 + 0;
- 18 632 980 377 202 ÷ 2 = 9 316 490 188 601 + 0;
- 9 316 490 188 601 ÷ 2 = 4 658 245 094 300 + 1;
- 4 658 245 094 300 ÷ 2 = 2 329 122 547 150 + 0;
- 2 329 122 547 150 ÷ 2 = 1 164 561 273 575 + 0;
- 1 164 561 273 575 ÷ 2 = 582 280 636 787 + 1;
- 582 280 636 787 ÷ 2 = 291 140 318 393 + 1;
- 291 140 318 393 ÷ 2 = 145 570 159 196 + 1;
- 145 570 159 196 ÷ 2 = 72 785 079 598 + 0;
- 72 785 079 598 ÷ 2 = 36 392 539 799 + 0;
- 36 392 539 799 ÷ 2 = 18 196 269 899 + 1;
- 18 196 269 899 ÷ 2 = 9 098 134 949 + 1;
- 9 098 134 949 ÷ 2 = 4 549 067 474 + 1;
- 4 549 067 474 ÷ 2 = 2 274 533 737 + 0;
- 2 274 533 737 ÷ 2 = 1 137 266 868 + 1;
- 1 137 266 868 ÷ 2 = 568 633 434 + 0;
- 568 633 434 ÷ 2 = 284 316 717 + 0;
- 284 316 717 ÷ 2 = 142 158 358 + 1;
- 142 158 358 ÷ 2 = 71 079 179 + 0;
- 71 079 179 ÷ 2 = 35 539 589 + 1;
- 35 539 589 ÷ 2 = 17 769 794 + 1;
- 17 769 794 ÷ 2 = 8 884 897 + 0;
- 8 884 897 ÷ 2 = 4 442 448 + 1;
- 4 442 448 ÷ 2 = 2 221 224 + 0;
- 2 221 224 ÷ 2 = 1 110 612 + 0;
- 1 110 612 ÷ 2 = 555 306 + 0;
- 555 306 ÷ 2 = 277 653 + 0;
- 277 653 ÷ 2 = 138 826 + 1;
- 138 826 ÷ 2 = 69 413 + 0;
- 69 413 ÷ 2 = 34 706 + 1;
- 34 706 ÷ 2 = 17 353 + 0;
- 17 353 ÷ 2 = 8 676 + 1;
- 8 676 ÷ 2 = 4 338 + 0;
- 4 338 ÷ 2 = 2 169 + 0;
- 2 169 ÷ 2 = 1 084 + 1;
- 1 084 ÷ 2 = 542 + 0;
- 542 ÷ 2 = 271 + 0;
- 271 ÷ 2 = 135 + 1;
- 135 ÷ 2 = 67 + 1;
- 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.
1 221 131 002 000 322 363(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 221 131 002 000 322 363 (base 10) = 1 0000 1111 0010 0101 0100 0010 1101 0010 1110 0111 0010 0010 1111 0011 1011 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.