What are the required steps to convert base 10 decimal system
number 1 393 108 906 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 393 108 906 ÷ 2 = 696 554 453 + 0;
- 696 554 453 ÷ 2 = 348 277 226 + 1;
- 348 277 226 ÷ 2 = 174 138 613 + 0;
- 174 138 613 ÷ 2 = 87 069 306 + 1;
- 87 069 306 ÷ 2 = 43 534 653 + 0;
- 43 534 653 ÷ 2 = 21 767 326 + 1;
- 21 767 326 ÷ 2 = 10 883 663 + 0;
- 10 883 663 ÷ 2 = 5 441 831 + 1;
- 5 441 831 ÷ 2 = 2 720 915 + 1;
- 2 720 915 ÷ 2 = 1 360 457 + 1;
- 1 360 457 ÷ 2 = 680 228 + 1;
- 680 228 ÷ 2 = 340 114 + 0;
- 340 114 ÷ 2 = 170 057 + 0;
- 170 057 ÷ 2 = 85 028 + 1;
- 85 028 ÷ 2 = 42 514 + 0;
- 42 514 ÷ 2 = 21 257 + 0;
- 21 257 ÷ 2 = 10 628 + 1;
- 10 628 ÷ 2 = 5 314 + 0;
- 5 314 ÷ 2 = 2 657 + 0;
- 2 657 ÷ 2 = 1 328 + 1;
- 1 328 ÷ 2 = 664 + 0;
- 664 ÷ 2 = 332 + 0;
- 332 ÷ 2 = 166 + 0;
- 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 393 108 906(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 393 108 906 (base 10) = 101 0011 0000 1001 0010 0111 1010 1010 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.