What are the required steps to convert base 10 decimal system
number 2 471 321 830 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 830 ÷ 2 = 1 235 660 915 + 0;
- 1 235 660 915 ÷ 2 = 617 830 457 + 1;
- 617 830 457 ÷ 2 = 308 915 228 + 1;
- 308 915 228 ÷ 2 = 154 457 614 + 0;
- 154 457 614 ÷ 2 = 77 228 807 + 0;
- 77 228 807 ÷ 2 = 38 614 403 + 1;
- 38 614 403 ÷ 2 = 19 307 201 + 1;
- 19 307 201 ÷ 2 = 9 653 600 + 1;
- 9 653 600 ÷ 2 = 4 826 800 + 0;
- 4 826 800 ÷ 2 = 2 413 400 + 0;
- 2 413 400 ÷ 2 = 1 206 700 + 0;
- 1 206 700 ÷ 2 = 603 350 + 0;
- 603 350 ÷ 2 = 301 675 + 0;
- 301 675 ÷ 2 = 150 837 + 1;
- 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 830(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
2 471 321 830 (base 10) = 1001 0011 0100 1101 0110 0000 1110 0110 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.