What are the required steps to convert base 10 decimal system
number 2 471 321 400 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;
- 2 471 321 400 ÷ 2 = 1 235 660 700 + 0;
- 1 235 660 700 ÷ 2 = 617 830 350 + 0;
- 617 830 350 ÷ 2 = 308 915 175 + 0;
- 308 915 175 ÷ 2 = 154 457 587 + 1;
- 154 457 587 ÷ 2 = 77 228 793 + 1;
- 77 228 793 ÷ 2 = 38 614 396 + 1;
- 38 614 396 ÷ 2 = 19 307 198 + 0;
- 19 307 198 ÷ 2 = 9 653 599 + 0;
- 9 653 599 ÷ 2 = 4 826 799 + 1;
- 4 826 799 ÷ 2 = 2 413 399 + 1;
- 2 413 399 ÷ 2 = 1 206 699 + 1;
- 1 206 699 ÷ 2 = 603 349 + 1;
- 603 349 ÷ 2 = 301 674 + 1;
- 301 674 ÷ 2 = 150 837 + 0;
- 150 837 ÷ 2 = 75 418 + 1;
- 75 418 ÷ 2 = 37 709 + 0;
- 37 709 ÷ 2 = 18 854 + 1;
- 18 854 ÷ 2 = 9 427 + 0;
- 9 427 ÷ 2 = 4 713 + 1;
- 4 713 ÷ 2 = 2 356 + 1;
- 2 356 ÷ 2 = 1 178 + 0;
- 1 178 ÷ 2 = 589 + 0;
- 589 ÷ 2 = 294 + 1;
- 294 ÷ 2 = 147 + 0;
- 147 ÷ 2 = 73 + 1;
- 73 ÷ 2 = 36 + 1;
- 36 ÷ 2 = 18 + 0;
- 18 ÷ 2 = 9 + 0;
- 9 ÷ 2 = 4 + 1;
- 4 ÷ 2 = 2 + 0;
- 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.
2 471 321 400(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
2 471 321 400 (base 10) = 1001 0011 0100 1101 0101 1111 0011 1000 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.