What are the required steps to convert base 10 decimal system
number 825 504 249 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;
- 825 504 249 ÷ 2 = 412 752 124 + 1;
- 412 752 124 ÷ 2 = 206 376 062 + 0;
- 206 376 062 ÷ 2 = 103 188 031 + 0;
- 103 188 031 ÷ 2 = 51 594 015 + 1;
- 51 594 015 ÷ 2 = 25 797 007 + 1;
- 25 797 007 ÷ 2 = 12 898 503 + 1;
- 12 898 503 ÷ 2 = 6 449 251 + 1;
- 6 449 251 ÷ 2 = 3 224 625 + 1;
- 3 224 625 ÷ 2 = 1 612 312 + 1;
- 1 612 312 ÷ 2 = 806 156 + 0;
- 806 156 ÷ 2 = 403 078 + 0;
- 403 078 ÷ 2 = 201 539 + 0;
- 201 539 ÷ 2 = 100 769 + 1;
- 100 769 ÷ 2 = 50 384 + 1;
- 50 384 ÷ 2 = 25 192 + 0;
- 25 192 ÷ 2 = 12 596 + 0;
- 12 596 ÷ 2 = 6 298 + 0;
- 6 298 ÷ 2 = 3 149 + 0;
- 3 149 ÷ 2 = 1 574 + 1;
- 1 574 ÷ 2 = 787 + 0;
- 787 ÷ 2 = 393 + 1;
- 393 ÷ 2 = 196 + 1;
- 196 ÷ 2 = 98 + 0;
- 98 ÷ 2 = 49 + 0;
- 49 ÷ 2 = 24 + 1;
- 24 ÷ 2 = 12 + 0;
- 12 ÷ 2 = 6 + 0;
- 6 ÷ 2 = 3 + 0;
- 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.
825 504 249(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
825 504 249 (base 10) = 11 0001 0011 0100 0011 0001 1111 1001 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.