What are the required steps to convert base 10 decimal system
number 9 046 935 287 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;
- 9 046 935 287 ÷ 2 = 4 523 467 643 + 1;
- 4 523 467 643 ÷ 2 = 2 261 733 821 + 1;
- 2 261 733 821 ÷ 2 = 1 130 866 910 + 1;
- 1 130 866 910 ÷ 2 = 565 433 455 + 0;
- 565 433 455 ÷ 2 = 282 716 727 + 1;
- 282 716 727 ÷ 2 = 141 358 363 + 1;
- 141 358 363 ÷ 2 = 70 679 181 + 1;
- 70 679 181 ÷ 2 = 35 339 590 + 1;
- 35 339 590 ÷ 2 = 17 669 795 + 0;
- 17 669 795 ÷ 2 = 8 834 897 + 1;
- 8 834 897 ÷ 2 = 4 417 448 + 1;
- 4 417 448 ÷ 2 = 2 208 724 + 0;
- 2 208 724 ÷ 2 = 1 104 362 + 0;
- 1 104 362 ÷ 2 = 552 181 + 0;
- 552 181 ÷ 2 = 276 090 + 1;
- 276 090 ÷ 2 = 138 045 + 0;
- 138 045 ÷ 2 = 69 022 + 1;
- 69 022 ÷ 2 = 34 511 + 0;
- 34 511 ÷ 2 = 17 255 + 1;
- 17 255 ÷ 2 = 8 627 + 1;
- 8 627 ÷ 2 = 4 313 + 1;
- 4 313 ÷ 2 = 2 156 + 1;
- 2 156 ÷ 2 = 1 078 + 0;
- 1 078 ÷ 2 = 539 + 0;
- 539 ÷ 2 = 269 + 1;
- 269 ÷ 2 = 134 + 1;
- 134 ÷ 2 = 67 + 0;
- 67 ÷ 2 = 33 + 1;
- 33 ÷ 2 = 16 + 1;
- 16 ÷ 2 = 8 + 0;
- 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.
9 046 935 287(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
9 046 935 287 (base 10) = 10 0001 1011 0011 1101 0100 0110 1111 0111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.