What are the required steps to convert base 10 decimal system
number 4 805 552 729 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;
- 4 805 552 729 ÷ 2 = 2 402 776 364 + 1;
- 2 402 776 364 ÷ 2 = 1 201 388 182 + 0;
- 1 201 388 182 ÷ 2 = 600 694 091 + 0;
- 600 694 091 ÷ 2 = 300 347 045 + 1;
- 300 347 045 ÷ 2 = 150 173 522 + 1;
- 150 173 522 ÷ 2 = 75 086 761 + 0;
- 75 086 761 ÷ 2 = 37 543 380 + 1;
- 37 543 380 ÷ 2 = 18 771 690 + 0;
- 18 771 690 ÷ 2 = 9 385 845 + 0;
- 9 385 845 ÷ 2 = 4 692 922 + 1;
- 4 692 922 ÷ 2 = 2 346 461 + 0;
- 2 346 461 ÷ 2 = 1 173 230 + 1;
- 1 173 230 ÷ 2 = 586 615 + 0;
- 586 615 ÷ 2 = 293 307 + 1;
- 293 307 ÷ 2 = 146 653 + 1;
- 146 653 ÷ 2 = 73 326 + 1;
- 73 326 ÷ 2 = 36 663 + 0;
- 36 663 ÷ 2 = 18 331 + 1;
- 18 331 ÷ 2 = 9 165 + 1;
- 9 165 ÷ 2 = 4 582 + 1;
- 4 582 ÷ 2 = 2 291 + 0;
- 2 291 ÷ 2 = 1 145 + 1;
- 1 145 ÷ 2 = 572 + 1;
- 572 ÷ 2 = 286 + 0;
- 286 ÷ 2 = 143 + 0;
- 143 ÷ 2 = 71 + 1;
- 71 ÷ 2 = 35 + 1;
- 35 ÷ 2 = 17 + 1;
- 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.
4 805 552 729(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
4 805 552 729 (base 10) = 1 0001 1110 0110 1110 1110 1010 0101 1001 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.