What are the required steps to convert base 10 decimal system
number 1 396 834 334 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;
- 1 396 834 334 ÷ 2 = 698 417 167 + 0;
- 698 417 167 ÷ 2 = 349 208 583 + 1;
- 349 208 583 ÷ 2 = 174 604 291 + 1;
- 174 604 291 ÷ 2 = 87 302 145 + 1;
- 87 302 145 ÷ 2 = 43 651 072 + 1;
- 43 651 072 ÷ 2 = 21 825 536 + 0;
- 21 825 536 ÷ 2 = 10 912 768 + 0;
- 10 912 768 ÷ 2 = 5 456 384 + 0;
- 5 456 384 ÷ 2 = 2 728 192 + 0;
- 2 728 192 ÷ 2 = 1 364 096 + 0;
- 1 364 096 ÷ 2 = 682 048 + 0;
- 682 048 ÷ 2 = 341 024 + 0;
- 341 024 ÷ 2 = 170 512 + 0;
- 170 512 ÷ 2 = 85 256 + 0;
- 85 256 ÷ 2 = 42 628 + 0;
- 42 628 ÷ 2 = 21 314 + 0;
- 21 314 ÷ 2 = 10 657 + 0;
- 10 657 ÷ 2 = 5 328 + 1;
- 5 328 ÷ 2 = 2 664 + 0;
- 2 664 ÷ 2 = 1 332 + 0;
- 1 332 ÷ 2 = 666 + 0;
- 666 ÷ 2 = 333 + 0;
- 333 ÷ 2 = 166 + 1;
- 166 ÷ 2 = 83 + 0;
- 83 ÷ 2 = 41 + 1;
- 41 ÷ 2 = 20 + 1;
- 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.
1 396 834 334(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 396 834 334 (base 10) = 101 0011 0100 0010 0000 0000 0001 1110 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.