What are the required steps to convert base 10 decimal system
number 6 157 053 869 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;
- 6 157 053 869 ÷ 2 = 3 078 526 934 + 1;
- 3 078 526 934 ÷ 2 = 1 539 263 467 + 0;
- 1 539 263 467 ÷ 2 = 769 631 733 + 1;
- 769 631 733 ÷ 2 = 384 815 866 + 1;
- 384 815 866 ÷ 2 = 192 407 933 + 0;
- 192 407 933 ÷ 2 = 96 203 966 + 1;
- 96 203 966 ÷ 2 = 48 101 983 + 0;
- 48 101 983 ÷ 2 = 24 050 991 + 1;
- 24 050 991 ÷ 2 = 12 025 495 + 1;
- 12 025 495 ÷ 2 = 6 012 747 + 1;
- 6 012 747 ÷ 2 = 3 006 373 + 1;
- 3 006 373 ÷ 2 = 1 503 186 + 1;
- 1 503 186 ÷ 2 = 751 593 + 0;
- 751 593 ÷ 2 = 375 796 + 1;
- 375 796 ÷ 2 = 187 898 + 0;
- 187 898 ÷ 2 = 93 949 + 0;
- 93 949 ÷ 2 = 46 974 + 1;
- 46 974 ÷ 2 = 23 487 + 0;
- 23 487 ÷ 2 = 11 743 + 1;
- 11 743 ÷ 2 = 5 871 + 1;
- 5 871 ÷ 2 = 2 935 + 1;
- 2 935 ÷ 2 = 1 467 + 1;
- 1 467 ÷ 2 = 733 + 1;
- 733 ÷ 2 = 366 + 1;
- 366 ÷ 2 = 183 + 0;
- 183 ÷ 2 = 91 + 1;
- 91 ÷ 2 = 45 + 1;
- 45 ÷ 2 = 22 + 1;
- 22 ÷ 2 = 11 + 0;
- 11 ÷ 2 = 5 + 1;
- 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.
6 157 053 869(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
6 157 053 869 (base 10) = 1 0110 1110 1111 1101 0010 1111 1010 1101 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.