What are the required steps to convert base 10 decimal system
number 212 103 456 792 316 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;
- 212 103 456 792 316 ÷ 2 = 106 051 728 396 158 + 0;
- 106 051 728 396 158 ÷ 2 = 53 025 864 198 079 + 0;
- 53 025 864 198 079 ÷ 2 = 26 512 932 099 039 + 1;
- 26 512 932 099 039 ÷ 2 = 13 256 466 049 519 + 1;
- 13 256 466 049 519 ÷ 2 = 6 628 233 024 759 + 1;
- 6 628 233 024 759 ÷ 2 = 3 314 116 512 379 + 1;
- 3 314 116 512 379 ÷ 2 = 1 657 058 256 189 + 1;
- 1 657 058 256 189 ÷ 2 = 828 529 128 094 + 1;
- 828 529 128 094 ÷ 2 = 414 264 564 047 + 0;
- 414 264 564 047 ÷ 2 = 207 132 282 023 + 1;
- 207 132 282 023 ÷ 2 = 103 566 141 011 + 1;
- 103 566 141 011 ÷ 2 = 51 783 070 505 + 1;
- 51 783 070 505 ÷ 2 = 25 891 535 252 + 1;
- 25 891 535 252 ÷ 2 = 12 945 767 626 + 0;
- 12 945 767 626 ÷ 2 = 6 472 883 813 + 0;
- 6 472 883 813 ÷ 2 = 3 236 441 906 + 1;
- 3 236 441 906 ÷ 2 = 1 618 220 953 + 0;
- 1 618 220 953 ÷ 2 = 809 110 476 + 1;
- 809 110 476 ÷ 2 = 404 555 238 + 0;
- 404 555 238 ÷ 2 = 202 277 619 + 0;
- 202 277 619 ÷ 2 = 101 138 809 + 1;
- 101 138 809 ÷ 2 = 50 569 404 + 1;
- 50 569 404 ÷ 2 = 25 284 702 + 0;
- 25 284 702 ÷ 2 = 12 642 351 + 0;
- 12 642 351 ÷ 2 = 6 321 175 + 1;
- 6 321 175 ÷ 2 = 3 160 587 + 1;
- 3 160 587 ÷ 2 = 1 580 293 + 1;
- 1 580 293 ÷ 2 = 790 146 + 1;
- 790 146 ÷ 2 = 395 073 + 0;
- 395 073 ÷ 2 = 197 536 + 1;
- 197 536 ÷ 2 = 98 768 + 0;
- 98 768 ÷ 2 = 49 384 + 0;
- 49 384 ÷ 2 = 24 692 + 0;
- 24 692 ÷ 2 = 12 346 + 0;
- 12 346 ÷ 2 = 6 173 + 0;
- 6 173 ÷ 2 = 3 086 + 1;
- 3 086 ÷ 2 = 1 543 + 0;
- 1 543 ÷ 2 = 771 + 1;
- 771 ÷ 2 = 385 + 1;
- 385 ÷ 2 = 192 + 1;
- 192 ÷ 2 = 96 + 0;
- 96 ÷ 2 = 48 + 0;
- 48 ÷ 2 = 24 + 0;
- 24 ÷ 2 = 12 + 0;
- 12 ÷ 2 = 6 + 0;
- 6 ÷ 2 = 3 + 0;
- 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.
212 103 456 792 316(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
212 103 456 792 316 (base 10) = 1100 0000 1110 1000 0010 1111 0011 0010 1001 1110 1111 1100 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.