What are the required steps to convert base 10 decimal system
number 12 586 269 686 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 269 686 ÷ 2 = 6 293 134 843 + 0;
- 6 293 134 843 ÷ 2 = 3 146 567 421 + 1;
- 3 146 567 421 ÷ 2 = 1 573 283 710 + 1;
- 1 573 283 710 ÷ 2 = 786 641 855 + 0;
- 786 641 855 ÷ 2 = 393 320 927 + 1;
- 393 320 927 ÷ 2 = 196 660 463 + 1;
- 196 660 463 ÷ 2 = 98 330 231 + 1;
- 98 330 231 ÷ 2 = 49 165 115 + 1;
- 49 165 115 ÷ 2 = 24 582 557 + 1;
- 24 582 557 ÷ 2 = 12 291 278 + 1;
- 12 291 278 ÷ 2 = 6 145 639 + 0;
- 6 145 639 ÷ 2 = 3 072 819 + 1;
- 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 269 686(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
12 586 269 686 (base 10) = 10 1110 1110 0011 0011 0011 1011 1111 0110 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.