What are the required steps to convert base 10 decimal system
number 9 046 935 578 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 578 ÷ 2 = 4 523 467 789 + 0;
- 4 523 467 789 ÷ 2 = 2 261 733 894 + 1;
- 2 261 733 894 ÷ 2 = 1 130 866 947 + 0;
- 1 130 866 947 ÷ 2 = 565 433 473 + 1;
- 565 433 473 ÷ 2 = 282 716 736 + 1;
- 282 716 736 ÷ 2 = 141 358 368 + 0;
- 141 358 368 ÷ 2 = 70 679 184 + 0;
- 70 679 184 ÷ 2 = 35 339 592 + 0;
- 35 339 592 ÷ 2 = 17 669 796 + 0;
- 17 669 796 ÷ 2 = 8 834 898 + 0;
- 8 834 898 ÷ 2 = 4 417 449 + 0;
- 4 417 449 ÷ 2 = 2 208 724 + 1;
- 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 578(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
9 046 935 578 (base 10) = 10 0001 1011 0011 1101 0100 1000 0001 1010 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.