What are the required steps to convert base 10 decimal system
number 3 332 898 871 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;
- 3 332 898 871 ÷ 2 = 1 666 449 435 + 1;
- 1 666 449 435 ÷ 2 = 833 224 717 + 1;
- 833 224 717 ÷ 2 = 416 612 358 + 1;
- 416 612 358 ÷ 2 = 208 306 179 + 0;
- 208 306 179 ÷ 2 = 104 153 089 + 1;
- 104 153 089 ÷ 2 = 52 076 544 + 1;
- 52 076 544 ÷ 2 = 26 038 272 + 0;
- 26 038 272 ÷ 2 = 13 019 136 + 0;
- 13 019 136 ÷ 2 = 6 509 568 + 0;
- 6 509 568 ÷ 2 = 3 254 784 + 0;
- 3 254 784 ÷ 2 = 1 627 392 + 0;
- 1 627 392 ÷ 2 = 813 696 + 0;
- 813 696 ÷ 2 = 406 848 + 0;
- 406 848 ÷ 2 = 203 424 + 0;
- 203 424 ÷ 2 = 101 712 + 0;
- 101 712 ÷ 2 = 50 856 + 0;
- 50 856 ÷ 2 = 25 428 + 0;
- 25 428 ÷ 2 = 12 714 + 0;
- 12 714 ÷ 2 = 6 357 + 0;
- 6 357 ÷ 2 = 3 178 + 1;
- 3 178 ÷ 2 = 1 589 + 0;
- 1 589 ÷ 2 = 794 + 1;
- 794 ÷ 2 = 397 + 0;
- 397 ÷ 2 = 198 + 1;
- 198 ÷ 2 = 99 + 0;
- 99 ÷ 2 = 49 + 1;
- 49 ÷ 2 = 24 + 1;
- 24 ÷ 2 = 12 + 0;
- 12 ÷ 2 = 6 + 0;
- 6 ÷ 2 = 3 + 0;
- 3 ÷ 2 = 1 + 1;
- 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.
3 332 898 871(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
3 332 898 871 (base 10) = 1100 0110 1010 1000 0000 0000 0011 0111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.