What are the required steps to convert base 10 decimal system
number 2 871 214 201 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;
- 2 871 214 201 ÷ 2 = 1 435 607 100 + 1;
- 1 435 607 100 ÷ 2 = 717 803 550 + 0;
- 717 803 550 ÷ 2 = 358 901 775 + 0;
- 358 901 775 ÷ 2 = 179 450 887 + 1;
- 179 450 887 ÷ 2 = 89 725 443 + 1;
- 89 725 443 ÷ 2 = 44 862 721 + 1;
- 44 862 721 ÷ 2 = 22 431 360 + 1;
- 22 431 360 ÷ 2 = 11 215 680 + 0;
- 11 215 680 ÷ 2 = 5 607 840 + 0;
- 5 607 840 ÷ 2 = 2 803 920 + 0;
- 2 803 920 ÷ 2 = 1 401 960 + 0;
- 1 401 960 ÷ 2 = 700 980 + 0;
- 700 980 ÷ 2 = 350 490 + 0;
- 350 490 ÷ 2 = 175 245 + 0;
- 175 245 ÷ 2 = 87 622 + 1;
- 87 622 ÷ 2 = 43 811 + 0;
- 43 811 ÷ 2 = 21 905 + 1;
- 21 905 ÷ 2 = 10 952 + 1;
- 10 952 ÷ 2 = 5 476 + 0;
- 5 476 ÷ 2 = 2 738 + 0;
- 2 738 ÷ 2 = 1 369 + 0;
- 1 369 ÷ 2 = 684 + 1;
- 684 ÷ 2 = 342 + 0;
- 342 ÷ 2 = 171 + 0;
- 171 ÷ 2 = 85 + 1;
- 85 ÷ 2 = 42 + 1;
- 42 ÷ 2 = 21 + 0;
- 21 ÷ 2 = 10 + 1;
- 10 ÷ 2 = 5 + 0;
- 5 ÷ 2 = 2 + 1;
- 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.
2 871 214 201(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
2 871 214 201 (base 10) = 1010 1011 0010 0011 0100 0000 0111 1001 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.