What are the required steps to convert base 10 decimal system
number 1 396 833 946 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 833 946 ÷ 2 = 698 416 973 + 0;
- 698 416 973 ÷ 2 = 349 208 486 + 1;
- 349 208 486 ÷ 2 = 174 604 243 + 0;
- 174 604 243 ÷ 2 = 87 302 121 + 1;
- 87 302 121 ÷ 2 = 43 651 060 + 1;
- 43 651 060 ÷ 2 = 21 825 530 + 0;
- 21 825 530 ÷ 2 = 10 912 765 + 0;
- 10 912 765 ÷ 2 = 5 456 382 + 1;
- 5 456 382 ÷ 2 = 2 728 191 + 0;
- 2 728 191 ÷ 2 = 1 364 095 + 1;
- 1 364 095 ÷ 2 = 682 047 + 1;
- 682 047 ÷ 2 = 341 023 + 1;
- 341 023 ÷ 2 = 170 511 + 1;
- 170 511 ÷ 2 = 85 255 + 1;
- 85 255 ÷ 2 = 42 627 + 1;
- 42 627 ÷ 2 = 21 313 + 1;
- 21 313 ÷ 2 = 10 656 + 1;
- 10 656 ÷ 2 = 5 328 + 0;
- 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 833 946(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 396 833 946 (base 10) = 101 0011 0100 0001 1111 1110 1001 1010 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.