What are the required steps to convert base 10 decimal system
number 1 349 281 491 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 349 281 491 ÷ 2 = 674 640 745 + 1;
- 674 640 745 ÷ 2 = 337 320 372 + 1;
- 337 320 372 ÷ 2 = 168 660 186 + 0;
- 168 660 186 ÷ 2 = 84 330 093 + 0;
- 84 330 093 ÷ 2 = 42 165 046 + 1;
- 42 165 046 ÷ 2 = 21 082 523 + 0;
- 21 082 523 ÷ 2 = 10 541 261 + 1;
- 10 541 261 ÷ 2 = 5 270 630 + 1;
- 5 270 630 ÷ 2 = 2 635 315 + 0;
- 2 635 315 ÷ 2 = 1 317 657 + 1;
- 1 317 657 ÷ 2 = 658 828 + 1;
- 658 828 ÷ 2 = 329 414 + 0;
- 329 414 ÷ 2 = 164 707 + 0;
- 164 707 ÷ 2 = 82 353 + 1;
- 82 353 ÷ 2 = 41 176 + 1;
- 41 176 ÷ 2 = 20 588 + 0;
- 20 588 ÷ 2 = 10 294 + 0;
- 10 294 ÷ 2 = 5 147 + 0;
- 5 147 ÷ 2 = 2 573 + 1;
- 2 573 ÷ 2 = 1 286 + 1;
- 1 286 ÷ 2 = 643 + 0;
- 643 ÷ 2 = 321 + 1;
- 321 ÷ 2 = 160 + 1;
- 160 ÷ 2 = 80 + 0;
- 80 ÷ 2 = 40 + 0;
- 40 ÷ 2 = 20 + 0;
- 20 ÷ 2 = 10 + 0;
- 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.
1 349 281 491(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 349 281 491 (base 10) = 101 0000 0110 1100 0110 0110 1101 0011 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.