What are the required steps to convert base 10 decimal system
number 20 220 200 918 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;
- 20 220 200 918 ÷ 2 = 10 110 100 459 + 0;
- 10 110 100 459 ÷ 2 = 5 055 050 229 + 1;
- 5 055 050 229 ÷ 2 = 2 527 525 114 + 1;
- 2 527 525 114 ÷ 2 = 1 263 762 557 + 0;
- 1 263 762 557 ÷ 2 = 631 881 278 + 1;
- 631 881 278 ÷ 2 = 315 940 639 + 0;
- 315 940 639 ÷ 2 = 157 970 319 + 1;
- 157 970 319 ÷ 2 = 78 985 159 + 1;
- 78 985 159 ÷ 2 = 39 492 579 + 1;
- 39 492 579 ÷ 2 = 19 746 289 + 1;
- 19 746 289 ÷ 2 = 9 873 144 + 1;
- 9 873 144 ÷ 2 = 4 936 572 + 0;
- 4 936 572 ÷ 2 = 2 468 286 + 0;
- 2 468 286 ÷ 2 = 1 234 143 + 0;
- 1 234 143 ÷ 2 = 617 071 + 1;
- 617 071 ÷ 2 = 308 535 + 1;
- 308 535 ÷ 2 = 154 267 + 1;
- 154 267 ÷ 2 = 77 133 + 1;
- 77 133 ÷ 2 = 38 566 + 1;
- 38 566 ÷ 2 = 19 283 + 0;
- 19 283 ÷ 2 = 9 641 + 1;
- 9 641 ÷ 2 = 4 820 + 1;
- 4 820 ÷ 2 = 2 410 + 0;
- 2 410 ÷ 2 = 1 205 + 0;
- 1 205 ÷ 2 = 602 + 1;
- 602 ÷ 2 = 301 + 0;
- 301 ÷ 2 = 150 + 1;
- 150 ÷ 2 = 75 + 0;
- 75 ÷ 2 = 37 + 1;
- 37 ÷ 2 = 18 + 1;
- 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.
20 220 200 918(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
20 220 200 918 (base 10) = 100 1011 0101 0011 0111 1100 0111 1101 0110 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.