What are the required steps to convert base 10 decimal system
number 2 870 142 760 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;
- 2 870 142 760 ÷ 2 = 1 435 071 380 + 0;
- 1 435 071 380 ÷ 2 = 717 535 690 + 0;
- 717 535 690 ÷ 2 = 358 767 845 + 0;
- 358 767 845 ÷ 2 = 179 383 922 + 1;
- 179 383 922 ÷ 2 = 89 691 961 + 0;
- 89 691 961 ÷ 2 = 44 845 980 + 1;
- 44 845 980 ÷ 2 = 22 422 990 + 0;
- 22 422 990 ÷ 2 = 11 211 495 + 0;
- 11 211 495 ÷ 2 = 5 605 747 + 1;
- 5 605 747 ÷ 2 = 2 802 873 + 1;
- 2 802 873 ÷ 2 = 1 401 436 + 1;
- 1 401 436 ÷ 2 = 700 718 + 0;
- 700 718 ÷ 2 = 350 359 + 0;
- 350 359 ÷ 2 = 175 179 + 1;
- 175 179 ÷ 2 = 87 589 + 1;
- 87 589 ÷ 2 = 43 794 + 1;
- 43 794 ÷ 2 = 21 897 + 0;
- 21 897 ÷ 2 = 10 948 + 1;
- 10 948 ÷ 2 = 5 474 + 0;
- 5 474 ÷ 2 = 2 737 + 0;
- 2 737 ÷ 2 = 1 368 + 1;
- 1 368 ÷ 2 = 684 + 0;
- 684 ÷ 2 = 342 + 0;
- 342 ÷ 2 = 171 + 0;
- 171 ÷ 2 = 85 + 1;
- 85 ÷ 2 = 42 + 1;
- 42 ÷ 2 = 21 + 0;
- 21 ÷ 2 = 10 + 1;
- 10 ÷ 2 = 5 + 0;
- 5 ÷ 2 = 2 + 1;
- 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.
2 870 142 760(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
2 870 142 760 (base 10) = 1010 1011 0001 0010 1110 0111 0010 1000 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.