What are the required steps to convert base 10 decimal system
number 297 177 798 838 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;
- 297 177 798 838 ÷ 2 = 148 588 899 419 + 0;
- 148 588 899 419 ÷ 2 = 74 294 449 709 + 1;
- 74 294 449 709 ÷ 2 = 37 147 224 854 + 1;
- 37 147 224 854 ÷ 2 = 18 573 612 427 + 0;
- 18 573 612 427 ÷ 2 = 9 286 806 213 + 1;
- 9 286 806 213 ÷ 2 = 4 643 403 106 + 1;
- 4 643 403 106 ÷ 2 = 2 321 701 553 + 0;
- 2 321 701 553 ÷ 2 = 1 160 850 776 + 1;
- 1 160 850 776 ÷ 2 = 580 425 388 + 0;
- 580 425 388 ÷ 2 = 290 212 694 + 0;
- 290 212 694 ÷ 2 = 145 106 347 + 0;
- 145 106 347 ÷ 2 = 72 553 173 + 1;
- 72 553 173 ÷ 2 = 36 276 586 + 1;
- 36 276 586 ÷ 2 = 18 138 293 + 0;
- 18 138 293 ÷ 2 = 9 069 146 + 1;
- 9 069 146 ÷ 2 = 4 534 573 + 0;
- 4 534 573 ÷ 2 = 2 267 286 + 1;
- 2 267 286 ÷ 2 = 1 133 643 + 0;
- 1 133 643 ÷ 2 = 566 821 + 1;
- 566 821 ÷ 2 = 283 410 + 1;
- 283 410 ÷ 2 = 141 705 + 0;
- 141 705 ÷ 2 = 70 852 + 1;
- 70 852 ÷ 2 = 35 426 + 0;
- 35 426 ÷ 2 = 17 713 + 0;
- 17 713 ÷ 2 = 8 856 + 1;
- 8 856 ÷ 2 = 4 428 + 0;
- 4 428 ÷ 2 = 2 214 + 0;
- 2 214 ÷ 2 = 1 107 + 0;
- 1 107 ÷ 2 = 553 + 1;
- 553 ÷ 2 = 276 + 1;
- 276 ÷ 2 = 138 + 0;
- 138 ÷ 2 = 69 + 0;
- 69 ÷ 2 = 34 + 1;
- 34 ÷ 2 = 17 + 0;
- 17 ÷ 2 = 8 + 1;
- 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.
297 177 798 838(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
297 177 798 838 (base 10) = 100 0101 0011 0001 0010 1101 0101 1000 1011 0110 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.