What are the required steps to convert base 10 decimal system
number 3 825 173 445 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;
- 3 825 173 445 ÷ 2 = 1 912 586 722 + 1;
- 1 912 586 722 ÷ 2 = 956 293 361 + 0;
- 956 293 361 ÷ 2 = 478 146 680 + 1;
- 478 146 680 ÷ 2 = 239 073 340 + 0;
- 239 073 340 ÷ 2 = 119 536 670 + 0;
- 119 536 670 ÷ 2 = 59 768 335 + 0;
- 59 768 335 ÷ 2 = 29 884 167 + 1;
- 29 884 167 ÷ 2 = 14 942 083 + 1;
- 14 942 083 ÷ 2 = 7 471 041 + 1;
- 7 471 041 ÷ 2 = 3 735 520 + 1;
- 3 735 520 ÷ 2 = 1 867 760 + 0;
- 1 867 760 ÷ 2 = 933 880 + 0;
- 933 880 ÷ 2 = 466 940 + 0;
- 466 940 ÷ 2 = 233 470 + 0;
- 233 470 ÷ 2 = 116 735 + 0;
- 116 735 ÷ 2 = 58 367 + 1;
- 58 367 ÷ 2 = 29 183 + 1;
- 29 183 ÷ 2 = 14 591 + 1;
- 14 591 ÷ 2 = 7 295 + 1;
- 7 295 ÷ 2 = 3 647 + 1;
- 3 647 ÷ 2 = 1 823 + 1;
- 1 823 ÷ 2 = 911 + 1;
- 911 ÷ 2 = 455 + 1;
- 455 ÷ 2 = 227 + 1;
- 227 ÷ 2 = 113 + 1;
- 113 ÷ 2 = 56 + 1;
- 56 ÷ 2 = 28 + 0;
- 28 ÷ 2 = 14 + 0;
- 14 ÷ 2 = 7 + 0;
- 7 ÷ 2 = 3 + 1;
- 3 ÷ 2 = 1 + 1;
- 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.
3 825 173 445(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
3 825 173 445 (base 10) = 1110 0011 1111 1111 1000 0011 1100 0101 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.