What are the required steps to convert base 10 decimal system
number 12 586 268 357 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;
- 12 586 268 357 ÷ 2 = 6 293 134 178 + 1;
- 6 293 134 178 ÷ 2 = 3 146 567 089 + 0;
- 3 146 567 089 ÷ 2 = 1 573 283 544 + 1;
- 1 573 283 544 ÷ 2 = 786 641 772 + 0;
- 786 641 772 ÷ 2 = 393 320 886 + 0;
- 393 320 886 ÷ 2 = 196 660 443 + 0;
- 196 660 443 ÷ 2 = 98 330 221 + 1;
- 98 330 221 ÷ 2 = 49 165 110 + 1;
- 49 165 110 ÷ 2 = 24 582 555 + 0;
- 24 582 555 ÷ 2 = 12 291 277 + 1;
- 12 291 277 ÷ 2 = 6 145 638 + 1;
- 6 145 638 ÷ 2 = 3 072 819 + 0;
- 3 072 819 ÷ 2 = 1 536 409 + 1;
- 1 536 409 ÷ 2 = 768 204 + 1;
- 768 204 ÷ 2 = 384 102 + 0;
- 384 102 ÷ 2 = 192 051 + 0;
- 192 051 ÷ 2 = 96 025 + 1;
- 96 025 ÷ 2 = 48 012 + 1;
- 48 012 ÷ 2 = 24 006 + 0;
- 24 006 ÷ 2 = 12 003 + 0;
- 12 003 ÷ 2 = 6 001 + 1;
- 6 001 ÷ 2 = 3 000 + 1;
- 3 000 ÷ 2 = 1 500 + 0;
- 1 500 ÷ 2 = 750 + 0;
- 750 ÷ 2 = 375 + 0;
- 375 ÷ 2 = 187 + 1;
- 187 ÷ 2 = 93 + 1;
- 93 ÷ 2 = 46 + 1;
- 46 ÷ 2 = 23 + 0;
- 23 ÷ 2 = 11 + 1;
- 11 ÷ 2 = 5 + 1;
- 5 ÷ 2 = 2 + 1;
- 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.
12 586 268 357(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
12 586 268 357 (base 10) = 10 1110 1110 0011 0011 0011 0110 1100 0101 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.