What are the required steps to convert base 10 decimal system
number 325 455 517 318 778 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;
- 325 455 517 318 778 ÷ 2 = 162 727 758 659 389 + 0;
- 162 727 758 659 389 ÷ 2 = 81 363 879 329 694 + 1;
- 81 363 879 329 694 ÷ 2 = 40 681 939 664 847 + 0;
- 40 681 939 664 847 ÷ 2 = 20 340 969 832 423 + 1;
- 20 340 969 832 423 ÷ 2 = 10 170 484 916 211 + 1;
- 10 170 484 916 211 ÷ 2 = 5 085 242 458 105 + 1;
- 5 085 242 458 105 ÷ 2 = 2 542 621 229 052 + 1;
- 2 542 621 229 052 ÷ 2 = 1 271 310 614 526 + 0;
- 1 271 310 614 526 ÷ 2 = 635 655 307 263 + 0;
- 635 655 307 263 ÷ 2 = 317 827 653 631 + 1;
- 317 827 653 631 ÷ 2 = 158 913 826 815 + 1;
- 158 913 826 815 ÷ 2 = 79 456 913 407 + 1;
- 79 456 913 407 ÷ 2 = 39 728 456 703 + 1;
- 39 728 456 703 ÷ 2 = 19 864 228 351 + 1;
- 19 864 228 351 ÷ 2 = 9 932 114 175 + 1;
- 9 932 114 175 ÷ 2 = 4 966 057 087 + 1;
- 4 966 057 087 ÷ 2 = 2 483 028 543 + 1;
- 2 483 028 543 ÷ 2 = 1 241 514 271 + 1;
- 1 241 514 271 ÷ 2 = 620 757 135 + 1;
- 620 757 135 ÷ 2 = 310 378 567 + 1;
- 310 378 567 ÷ 2 = 155 189 283 + 1;
- 155 189 283 ÷ 2 = 77 594 641 + 1;
- 77 594 641 ÷ 2 = 38 797 320 + 1;
- 38 797 320 ÷ 2 = 19 398 660 + 0;
- 19 398 660 ÷ 2 = 9 699 330 + 0;
- 9 699 330 ÷ 2 = 4 849 665 + 0;
- 4 849 665 ÷ 2 = 2 424 832 + 1;
- 2 424 832 ÷ 2 = 1 212 416 + 0;
- 1 212 416 ÷ 2 = 606 208 + 0;
- 606 208 ÷ 2 = 303 104 + 0;
- 303 104 ÷ 2 = 151 552 + 0;
- 151 552 ÷ 2 = 75 776 + 0;
- 75 776 ÷ 2 = 37 888 + 0;
- 37 888 ÷ 2 = 18 944 + 0;
- 18 944 ÷ 2 = 9 472 + 0;
- 9 472 ÷ 2 = 4 736 + 0;
- 4 736 ÷ 2 = 2 368 + 0;
- 2 368 ÷ 2 = 1 184 + 0;
- 1 184 ÷ 2 = 592 + 0;
- 592 ÷ 2 = 296 + 0;
- 296 ÷ 2 = 148 + 0;
- 148 ÷ 2 = 74 + 0;
- 74 ÷ 2 = 37 + 0;
- 37 ÷ 2 = 18 + 1;
- 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.
325 455 517 318 778(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
325 455 517 318 778 (base 10) = 1 0010 1000 0000 0000 0000 0100 0111 1111 1111 1110 0111 1010 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.