What are the required steps to convert base 10 decimal system
number 1 646 600 780 185 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 646 600 780 185 ÷ 2 = 823 300 390 092 + 1;
- 823 300 390 092 ÷ 2 = 411 650 195 046 + 0;
- 411 650 195 046 ÷ 2 = 205 825 097 523 + 0;
- 205 825 097 523 ÷ 2 = 102 912 548 761 + 1;
- 102 912 548 761 ÷ 2 = 51 456 274 380 + 1;
- 51 456 274 380 ÷ 2 = 25 728 137 190 + 0;
- 25 728 137 190 ÷ 2 = 12 864 068 595 + 0;
- 12 864 068 595 ÷ 2 = 6 432 034 297 + 1;
- 6 432 034 297 ÷ 2 = 3 216 017 148 + 1;
- 3 216 017 148 ÷ 2 = 1 608 008 574 + 0;
- 1 608 008 574 ÷ 2 = 804 004 287 + 0;
- 804 004 287 ÷ 2 = 402 002 143 + 1;
- 402 002 143 ÷ 2 = 201 001 071 + 1;
- 201 001 071 ÷ 2 = 100 500 535 + 1;
- 100 500 535 ÷ 2 = 50 250 267 + 1;
- 50 250 267 ÷ 2 = 25 125 133 + 1;
- 25 125 133 ÷ 2 = 12 562 566 + 1;
- 12 562 566 ÷ 2 = 6 281 283 + 0;
- 6 281 283 ÷ 2 = 3 140 641 + 1;
- 3 140 641 ÷ 2 = 1 570 320 + 1;
- 1 570 320 ÷ 2 = 785 160 + 0;
- 785 160 ÷ 2 = 392 580 + 0;
- 392 580 ÷ 2 = 196 290 + 0;
- 196 290 ÷ 2 = 98 145 + 0;
- 98 145 ÷ 2 = 49 072 + 1;
- 49 072 ÷ 2 = 24 536 + 0;
- 24 536 ÷ 2 = 12 268 + 0;
- 12 268 ÷ 2 = 6 134 + 0;
- 6 134 ÷ 2 = 3 067 + 0;
- 3 067 ÷ 2 = 1 533 + 1;
- 1 533 ÷ 2 = 766 + 1;
- 766 ÷ 2 = 383 + 0;
- 383 ÷ 2 = 191 + 1;
- 191 ÷ 2 = 95 + 1;
- 95 ÷ 2 = 47 + 1;
- 47 ÷ 2 = 23 + 1;
- 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.
1 646 600 780 185(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 646 600 780 185 (base 10) = 1 0111 1111 0110 0001 0000 1101 1111 1001 1001 1001 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.