What are the required steps to convert base 10 decimal system
number 966 085 557 937 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;
- 966 085 557 937 ÷ 2 = 483 042 778 968 + 1;
- 483 042 778 968 ÷ 2 = 241 521 389 484 + 0;
- 241 521 389 484 ÷ 2 = 120 760 694 742 + 0;
- 120 760 694 742 ÷ 2 = 60 380 347 371 + 0;
- 60 380 347 371 ÷ 2 = 30 190 173 685 + 1;
- 30 190 173 685 ÷ 2 = 15 095 086 842 + 1;
- 15 095 086 842 ÷ 2 = 7 547 543 421 + 0;
- 7 547 543 421 ÷ 2 = 3 773 771 710 + 1;
- 3 773 771 710 ÷ 2 = 1 886 885 855 + 0;
- 1 886 885 855 ÷ 2 = 943 442 927 + 1;
- 943 442 927 ÷ 2 = 471 721 463 + 1;
- 471 721 463 ÷ 2 = 235 860 731 + 1;
- 235 860 731 ÷ 2 = 117 930 365 + 1;
- 117 930 365 ÷ 2 = 58 965 182 + 1;
- 58 965 182 ÷ 2 = 29 482 591 + 0;
- 29 482 591 ÷ 2 = 14 741 295 + 1;
- 14 741 295 ÷ 2 = 7 370 647 + 1;
- 7 370 647 ÷ 2 = 3 685 323 + 1;
- 3 685 323 ÷ 2 = 1 842 661 + 1;
- 1 842 661 ÷ 2 = 921 330 + 1;
- 921 330 ÷ 2 = 460 665 + 0;
- 460 665 ÷ 2 = 230 332 + 1;
- 230 332 ÷ 2 = 115 166 + 0;
- 115 166 ÷ 2 = 57 583 + 0;
- 57 583 ÷ 2 = 28 791 + 1;
- 28 791 ÷ 2 = 14 395 + 1;
- 14 395 ÷ 2 = 7 197 + 1;
- 7 197 ÷ 2 = 3 598 + 1;
- 3 598 ÷ 2 = 1 799 + 0;
- 1 799 ÷ 2 = 899 + 1;
- 899 ÷ 2 = 449 + 1;
- 449 ÷ 2 = 224 + 1;
- 224 ÷ 2 = 112 + 0;
- 112 ÷ 2 = 56 + 0;
- 56 ÷ 2 = 28 + 0;
- 28 ÷ 2 = 14 + 0;
- 14 ÷ 2 = 7 + 0;
- 7 ÷ 2 = 3 + 1;
- 3 ÷ 2 = 1 + 1;
- 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.
966 085 557 937(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
966 085 557 937 (base 10) = 1110 0000 1110 1111 0010 1111 1011 1110 1011 0001 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.