What are the required steps to convert base 10 decimal system
number 1 421 801 825 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 421 801 825 ÷ 2 = 710 900 912 + 1;
- 710 900 912 ÷ 2 = 355 450 456 + 0;
- 355 450 456 ÷ 2 = 177 725 228 + 0;
- 177 725 228 ÷ 2 = 88 862 614 + 0;
- 88 862 614 ÷ 2 = 44 431 307 + 0;
- 44 431 307 ÷ 2 = 22 215 653 + 1;
- 22 215 653 ÷ 2 = 11 107 826 + 1;
- 11 107 826 ÷ 2 = 5 553 913 + 0;
- 5 553 913 ÷ 2 = 2 776 956 + 1;
- 2 776 956 ÷ 2 = 1 388 478 + 0;
- 1 388 478 ÷ 2 = 694 239 + 0;
- 694 239 ÷ 2 = 347 119 + 1;
- 347 119 ÷ 2 = 173 559 + 1;
- 173 559 ÷ 2 = 86 779 + 1;
- 86 779 ÷ 2 = 43 389 + 1;
- 43 389 ÷ 2 = 21 694 + 1;
- 21 694 ÷ 2 = 10 847 + 0;
- 10 847 ÷ 2 = 5 423 + 1;
- 5 423 ÷ 2 = 2 711 + 1;
- 2 711 ÷ 2 = 1 355 + 1;
- 1 355 ÷ 2 = 677 + 1;
- 677 ÷ 2 = 338 + 1;
- 338 ÷ 2 = 169 + 0;
- 169 ÷ 2 = 84 + 1;
- 84 ÷ 2 = 42 + 0;
- 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.
1 421 801 825(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 421 801 825 (base 10) = 101 0100 1011 1110 1111 1001 0110 0001 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.