What are the required steps to convert base 10 decimal system
number 5 104 882 741 379 873 497 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;
- 5 104 882 741 379 873 497 ÷ 2 = 2 552 441 370 689 936 748 + 1;
- 2 552 441 370 689 936 748 ÷ 2 = 1 276 220 685 344 968 374 + 0;
- 1 276 220 685 344 968 374 ÷ 2 = 638 110 342 672 484 187 + 0;
- 638 110 342 672 484 187 ÷ 2 = 319 055 171 336 242 093 + 1;
- 319 055 171 336 242 093 ÷ 2 = 159 527 585 668 121 046 + 1;
- 159 527 585 668 121 046 ÷ 2 = 79 763 792 834 060 523 + 0;
- 79 763 792 834 060 523 ÷ 2 = 39 881 896 417 030 261 + 1;
- 39 881 896 417 030 261 ÷ 2 = 19 940 948 208 515 130 + 1;
- 19 940 948 208 515 130 ÷ 2 = 9 970 474 104 257 565 + 0;
- 9 970 474 104 257 565 ÷ 2 = 4 985 237 052 128 782 + 1;
- 4 985 237 052 128 782 ÷ 2 = 2 492 618 526 064 391 + 0;
- 2 492 618 526 064 391 ÷ 2 = 1 246 309 263 032 195 + 1;
- 1 246 309 263 032 195 ÷ 2 = 623 154 631 516 097 + 1;
- 623 154 631 516 097 ÷ 2 = 311 577 315 758 048 + 1;
- 311 577 315 758 048 ÷ 2 = 155 788 657 879 024 + 0;
- 155 788 657 879 024 ÷ 2 = 77 894 328 939 512 + 0;
- 77 894 328 939 512 ÷ 2 = 38 947 164 469 756 + 0;
- 38 947 164 469 756 ÷ 2 = 19 473 582 234 878 + 0;
- 19 473 582 234 878 ÷ 2 = 9 736 791 117 439 + 0;
- 9 736 791 117 439 ÷ 2 = 4 868 395 558 719 + 1;
- 4 868 395 558 719 ÷ 2 = 2 434 197 779 359 + 1;
- 2 434 197 779 359 ÷ 2 = 1 217 098 889 679 + 1;
- 1 217 098 889 679 ÷ 2 = 608 549 444 839 + 1;
- 608 549 444 839 ÷ 2 = 304 274 722 419 + 1;
- 304 274 722 419 ÷ 2 = 152 137 361 209 + 1;
- 152 137 361 209 ÷ 2 = 76 068 680 604 + 1;
- 76 068 680 604 ÷ 2 = 38 034 340 302 + 0;
- 38 034 340 302 ÷ 2 = 19 017 170 151 + 0;
- 19 017 170 151 ÷ 2 = 9 508 585 075 + 1;
- 9 508 585 075 ÷ 2 = 4 754 292 537 + 1;
- 4 754 292 537 ÷ 2 = 2 377 146 268 + 1;
- 2 377 146 268 ÷ 2 = 1 188 573 134 + 0;
- 1 188 573 134 ÷ 2 = 594 286 567 + 0;
- 594 286 567 ÷ 2 = 297 143 283 + 1;
- 297 143 283 ÷ 2 = 148 571 641 + 1;
- 148 571 641 ÷ 2 = 74 285 820 + 1;
- 74 285 820 ÷ 2 = 37 142 910 + 0;
- 37 142 910 ÷ 2 = 18 571 455 + 0;
- 18 571 455 ÷ 2 = 9 285 727 + 1;
- 9 285 727 ÷ 2 = 4 642 863 + 1;
- 4 642 863 ÷ 2 = 2 321 431 + 1;
- 2 321 431 ÷ 2 = 1 160 715 + 1;
- 1 160 715 ÷ 2 = 580 357 + 1;
- 580 357 ÷ 2 = 290 178 + 1;
- 290 178 ÷ 2 = 145 089 + 0;
- 145 089 ÷ 2 = 72 544 + 1;
- 72 544 ÷ 2 = 36 272 + 0;
- 36 272 ÷ 2 = 18 136 + 0;
- 18 136 ÷ 2 = 9 068 + 0;
- 9 068 ÷ 2 = 4 534 + 0;
- 4 534 ÷ 2 = 2 267 + 0;
- 2 267 ÷ 2 = 1 133 + 1;
- 1 133 ÷ 2 = 566 + 1;
- 566 ÷ 2 = 283 + 0;
- 283 ÷ 2 = 141 + 1;
- 141 ÷ 2 = 70 + 1;
- 70 ÷ 2 = 35 + 0;
- 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.
5 104 882 741 379 873 497(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
5 104 882 741 379 873 497 (base 10) = 100 0110 1101 1000 0010 1111 1100 1110 0111 0011 1111 1000 0011 1010 1101 1001 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.