What are the required steps to convert base 10 decimal system
number 1 231 231 753 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;
- 1 231 231 753 ÷ 2 = 615 615 876 + 1;
- 615 615 876 ÷ 2 = 307 807 938 + 0;
- 307 807 938 ÷ 2 = 153 903 969 + 0;
- 153 903 969 ÷ 2 = 76 951 984 + 1;
- 76 951 984 ÷ 2 = 38 475 992 + 0;
- 38 475 992 ÷ 2 = 19 237 996 + 0;
- 19 237 996 ÷ 2 = 9 618 998 + 0;
- 9 618 998 ÷ 2 = 4 809 499 + 0;
- 4 809 499 ÷ 2 = 2 404 749 + 1;
- 2 404 749 ÷ 2 = 1 202 374 + 1;
- 1 202 374 ÷ 2 = 601 187 + 0;
- 601 187 ÷ 2 = 300 593 + 1;
- 300 593 ÷ 2 = 150 296 + 1;
- 150 296 ÷ 2 = 75 148 + 0;
- 75 148 ÷ 2 = 37 574 + 0;
- 37 574 ÷ 2 = 18 787 + 0;
- 18 787 ÷ 2 = 9 393 + 1;
- 9 393 ÷ 2 = 4 696 + 1;
- 4 696 ÷ 2 = 2 348 + 0;
- 2 348 ÷ 2 = 1 174 + 0;
- 1 174 ÷ 2 = 587 + 0;
- 587 ÷ 2 = 293 + 1;
- 293 ÷ 2 = 146 + 1;
- 146 ÷ 2 = 73 + 0;
- 73 ÷ 2 = 36 + 1;
- 36 ÷ 2 = 18 + 0;
- 18 ÷ 2 = 9 + 0;
- 9 ÷ 2 = 4 + 1;
- 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.
1 231 231 753(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 231 231 753 (base 10) = 100 1001 0110 0011 0001 1011 0000 1001 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.