What are the required steps to convert base 10 decimal system
number 1 604 303 515 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 604 303 515 ÷ 2 = 802 151 757 + 1;
- 802 151 757 ÷ 2 = 401 075 878 + 1;
- 401 075 878 ÷ 2 = 200 537 939 + 0;
- 200 537 939 ÷ 2 = 100 268 969 + 1;
- 100 268 969 ÷ 2 = 50 134 484 + 1;
- 50 134 484 ÷ 2 = 25 067 242 + 0;
- 25 067 242 ÷ 2 = 12 533 621 + 0;
- 12 533 621 ÷ 2 = 6 266 810 + 1;
- 6 266 810 ÷ 2 = 3 133 405 + 0;
- 3 133 405 ÷ 2 = 1 566 702 + 1;
- 1 566 702 ÷ 2 = 783 351 + 0;
- 783 351 ÷ 2 = 391 675 + 1;
- 391 675 ÷ 2 = 195 837 + 1;
- 195 837 ÷ 2 = 97 918 + 1;
- 97 918 ÷ 2 = 48 959 + 0;
- 48 959 ÷ 2 = 24 479 + 1;
- 24 479 ÷ 2 = 12 239 + 1;
- 12 239 ÷ 2 = 6 119 + 1;
- 6 119 ÷ 2 = 3 059 + 1;
- 3 059 ÷ 2 = 1 529 + 1;
- 1 529 ÷ 2 = 764 + 1;
- 764 ÷ 2 = 382 + 0;
- 382 ÷ 2 = 191 + 0;
- 191 ÷ 2 = 95 + 1;
- 95 ÷ 2 = 47 + 1;
- 47 ÷ 2 = 23 + 1;
- 23 ÷ 2 = 11 + 1;
- 11 ÷ 2 = 5 + 1;
- 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.
1 604 303 515(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 604 303 515 (base 10) = 101 1111 1001 1111 1011 1010 1001 1011 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.