What are the required steps to convert base 10 decimal system
number 2 714 967 786 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 714 967 786 ÷ 2 = 1 357 483 893 + 0;
- 1 357 483 893 ÷ 2 = 678 741 946 + 1;
- 678 741 946 ÷ 2 = 339 370 973 + 0;
- 339 370 973 ÷ 2 = 169 685 486 + 1;
- 169 685 486 ÷ 2 = 84 842 743 + 0;
- 84 842 743 ÷ 2 = 42 421 371 + 1;
- 42 421 371 ÷ 2 = 21 210 685 + 1;
- 21 210 685 ÷ 2 = 10 605 342 + 1;
- 10 605 342 ÷ 2 = 5 302 671 + 0;
- 5 302 671 ÷ 2 = 2 651 335 + 1;
- 2 651 335 ÷ 2 = 1 325 667 + 1;
- 1 325 667 ÷ 2 = 662 833 + 1;
- 662 833 ÷ 2 = 331 416 + 1;
- 331 416 ÷ 2 = 165 708 + 0;
- 165 708 ÷ 2 = 82 854 + 0;
- 82 854 ÷ 2 = 41 427 + 0;
- 41 427 ÷ 2 = 20 713 + 1;
- 20 713 ÷ 2 = 10 356 + 1;
- 10 356 ÷ 2 = 5 178 + 0;
- 5 178 ÷ 2 = 2 589 + 0;
- 2 589 ÷ 2 = 1 294 + 1;
- 1 294 ÷ 2 = 647 + 0;
- 647 ÷ 2 = 323 + 1;
- 323 ÷ 2 = 161 + 1;
- 161 ÷ 2 = 80 + 1;
- 80 ÷ 2 = 40 + 0;
- 40 ÷ 2 = 20 + 0;
- 20 ÷ 2 = 10 + 0;
- 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 714 967 786(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
2 714 967 786 (base 10) = 1010 0001 1101 0011 0001 1110 1110 1010 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.