What are the required steps to convert base 10 decimal system
number 1 001 001 110 023 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;
- 1 001 001 110 023 ÷ 2 = 500 500 555 011 + 1;
- 500 500 555 011 ÷ 2 = 250 250 277 505 + 1;
- 250 250 277 505 ÷ 2 = 125 125 138 752 + 1;
- 125 125 138 752 ÷ 2 = 62 562 569 376 + 0;
- 62 562 569 376 ÷ 2 = 31 281 284 688 + 0;
- 31 281 284 688 ÷ 2 = 15 640 642 344 + 0;
- 15 640 642 344 ÷ 2 = 7 820 321 172 + 0;
- 7 820 321 172 ÷ 2 = 3 910 160 586 + 0;
- 3 910 160 586 ÷ 2 = 1 955 080 293 + 0;
- 1 955 080 293 ÷ 2 = 977 540 146 + 1;
- 977 540 146 ÷ 2 = 488 770 073 + 0;
- 488 770 073 ÷ 2 = 244 385 036 + 1;
- 244 385 036 ÷ 2 = 122 192 518 + 0;
- 122 192 518 ÷ 2 = 61 096 259 + 0;
- 61 096 259 ÷ 2 = 30 548 129 + 1;
- 30 548 129 ÷ 2 = 15 274 064 + 1;
- 15 274 064 ÷ 2 = 7 637 032 + 0;
- 7 637 032 ÷ 2 = 3 818 516 + 0;
- 3 818 516 ÷ 2 = 1 909 258 + 0;
- 1 909 258 ÷ 2 = 954 629 + 0;
- 954 629 ÷ 2 = 477 314 + 1;
- 477 314 ÷ 2 = 238 657 + 0;
- 238 657 ÷ 2 = 119 328 + 1;
- 119 328 ÷ 2 = 59 664 + 0;
- 59 664 ÷ 2 = 29 832 + 0;
- 29 832 ÷ 2 = 14 916 + 0;
- 14 916 ÷ 2 = 7 458 + 0;
- 7 458 ÷ 2 = 3 729 + 0;
- 3 729 ÷ 2 = 1 864 + 1;
- 1 864 ÷ 2 = 932 + 0;
- 932 ÷ 2 = 466 + 0;
- 466 ÷ 2 = 233 + 0;
- 233 ÷ 2 = 116 + 1;
- 116 ÷ 2 = 58 + 0;
- 58 ÷ 2 = 29 + 0;
- 29 ÷ 2 = 14 + 1;
- 14 ÷ 2 = 7 + 0;
- 7 ÷ 2 = 3 + 1;
- 3 ÷ 2 = 1 + 1;
- 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.
1 001 001 110 023(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 001 001 110 023 (base 10) = 1110 1001 0001 0000 0101 0000 1100 1010 0000 0111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.