What are the required steps to convert base 10 decimal system
number 3 982 360 703 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;
- 3 982 360 703 ÷ 2 = 1 991 180 351 + 1;
- 1 991 180 351 ÷ 2 = 995 590 175 + 1;
- 995 590 175 ÷ 2 = 497 795 087 + 1;
- 497 795 087 ÷ 2 = 248 897 543 + 1;
- 248 897 543 ÷ 2 = 124 448 771 + 1;
- 124 448 771 ÷ 2 = 62 224 385 + 1;
- 62 224 385 ÷ 2 = 31 112 192 + 1;
- 31 112 192 ÷ 2 = 15 556 096 + 0;
- 15 556 096 ÷ 2 = 7 778 048 + 0;
- 7 778 048 ÷ 2 = 3 889 024 + 0;
- 3 889 024 ÷ 2 = 1 944 512 + 0;
- 1 944 512 ÷ 2 = 972 256 + 0;
- 972 256 ÷ 2 = 486 128 + 0;
- 486 128 ÷ 2 = 243 064 + 0;
- 243 064 ÷ 2 = 121 532 + 0;
- 121 532 ÷ 2 = 60 766 + 0;
- 60 766 ÷ 2 = 30 383 + 0;
- 30 383 ÷ 2 = 15 191 + 1;
- 15 191 ÷ 2 = 7 595 + 1;
- 7 595 ÷ 2 = 3 797 + 1;
- 3 797 ÷ 2 = 1 898 + 1;
- 1 898 ÷ 2 = 949 + 0;
- 949 ÷ 2 = 474 + 1;
- 474 ÷ 2 = 237 + 0;
- 237 ÷ 2 = 118 + 1;
- 118 ÷ 2 = 59 + 0;
- 59 ÷ 2 = 29 + 1;
- 29 ÷ 2 = 14 + 1;
- 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.
3 982 360 703(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
3 982 360 703 (base 10) = 1110 1101 0101 1110 0000 0000 0111 1111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.