What are the required steps to convert base 10 decimal system
number 37 277 025 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;
- 37 277 025 ÷ 2 = 18 638 512 + 1;
- 18 638 512 ÷ 2 = 9 319 256 + 0;
- 9 319 256 ÷ 2 = 4 659 628 + 0;
- 4 659 628 ÷ 2 = 2 329 814 + 0;
- 2 329 814 ÷ 2 = 1 164 907 + 0;
- 1 164 907 ÷ 2 = 582 453 + 1;
- 582 453 ÷ 2 = 291 226 + 1;
- 291 226 ÷ 2 = 145 613 + 0;
- 145 613 ÷ 2 = 72 806 + 1;
- 72 806 ÷ 2 = 36 403 + 0;
- 36 403 ÷ 2 = 18 201 + 1;
- 18 201 ÷ 2 = 9 100 + 1;
- 9 100 ÷ 2 = 4 550 + 0;
- 4 550 ÷ 2 = 2 275 + 0;
- 2 275 ÷ 2 = 1 137 + 1;
- 1 137 ÷ 2 = 568 + 1;
- 568 ÷ 2 = 284 + 0;
- 284 ÷ 2 = 142 + 0;
- 142 ÷ 2 = 71 + 0;
- 71 ÷ 2 = 35 + 1;
- 35 ÷ 2 = 17 + 1;
- 17 ÷ 2 = 8 + 1;
- 8 ÷ 2 = 4 + 0;
- 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.
37 277 025(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
37 277 025 (base 10) = 10 0011 1000 1100 1101 0110 0001 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.