What are the required steps to convert base 10 decimal system
number 2 154 959 734 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 154 959 734 ÷ 2 = 1 077 479 867 + 0;
- 1 077 479 867 ÷ 2 = 538 739 933 + 1;
- 538 739 933 ÷ 2 = 269 369 966 + 1;
- 269 369 966 ÷ 2 = 134 684 983 + 0;
- 134 684 983 ÷ 2 = 67 342 491 + 1;
- 67 342 491 ÷ 2 = 33 671 245 + 1;
- 33 671 245 ÷ 2 = 16 835 622 + 1;
- 16 835 622 ÷ 2 = 8 417 811 + 0;
- 8 417 811 ÷ 2 = 4 208 905 + 1;
- 4 208 905 ÷ 2 = 2 104 452 + 1;
- 2 104 452 ÷ 2 = 1 052 226 + 0;
- 1 052 226 ÷ 2 = 526 113 + 0;
- 526 113 ÷ 2 = 263 056 + 1;
- 263 056 ÷ 2 = 131 528 + 0;
- 131 528 ÷ 2 = 65 764 + 0;
- 65 764 ÷ 2 = 32 882 + 0;
- 32 882 ÷ 2 = 16 441 + 0;
- 16 441 ÷ 2 = 8 220 + 1;
- 8 220 ÷ 2 = 4 110 + 0;
- 4 110 ÷ 2 = 2 055 + 0;
- 2 055 ÷ 2 = 1 027 + 1;
- 1 027 ÷ 2 = 513 + 1;
- 513 ÷ 2 = 256 + 1;
- 256 ÷ 2 = 128 + 0;
- 128 ÷ 2 = 64 + 0;
- 64 ÷ 2 = 32 + 0;
- 32 ÷ 2 = 16 + 0;
- 16 ÷ 2 = 8 + 0;
- 8 ÷ 2 = 4 + 0;
- 4 ÷ 2 = 2 + 0;
- 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 154 959 734(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
2 154 959 734 (base 10) = 1000 0000 0111 0010 0001 0011 0111 0110 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.