What are the required steps to convert base 10 decimal system
number 1 391 460 354 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 391 460 354 ÷ 2 = 695 730 177 + 0;
- 695 730 177 ÷ 2 = 347 865 088 + 1;
- 347 865 088 ÷ 2 = 173 932 544 + 0;
- 173 932 544 ÷ 2 = 86 966 272 + 0;
- 86 966 272 ÷ 2 = 43 483 136 + 0;
- 43 483 136 ÷ 2 = 21 741 568 + 0;
- 21 741 568 ÷ 2 = 10 870 784 + 0;
- 10 870 784 ÷ 2 = 5 435 392 + 0;
- 5 435 392 ÷ 2 = 2 717 696 + 0;
- 2 717 696 ÷ 2 = 1 358 848 + 0;
- 1 358 848 ÷ 2 = 679 424 + 0;
- 679 424 ÷ 2 = 339 712 + 0;
- 339 712 ÷ 2 = 169 856 + 0;
- 169 856 ÷ 2 = 84 928 + 0;
- 84 928 ÷ 2 = 42 464 + 0;
- 42 464 ÷ 2 = 21 232 + 0;
- 21 232 ÷ 2 = 10 616 + 0;
- 10 616 ÷ 2 = 5 308 + 0;
- 5 308 ÷ 2 = 2 654 + 0;
- 2 654 ÷ 2 = 1 327 + 0;
- 1 327 ÷ 2 = 663 + 1;
- 663 ÷ 2 = 331 + 1;
- 331 ÷ 2 = 165 + 1;
- 165 ÷ 2 = 82 + 1;
- 82 ÷ 2 = 41 + 0;
- 41 ÷ 2 = 20 + 1;
- 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 391 460 354(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 391 460 354 (base 10) = 101 0010 1111 0000 0000 0000 0000 0010 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.