What are the required steps to convert base 10 decimal system
number 202 420 231 771 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;
- 202 420 231 771 ÷ 2 = 101 210 115 885 + 1;
- 101 210 115 885 ÷ 2 = 50 605 057 942 + 1;
- 50 605 057 942 ÷ 2 = 25 302 528 971 + 0;
- 25 302 528 971 ÷ 2 = 12 651 264 485 + 1;
- 12 651 264 485 ÷ 2 = 6 325 632 242 + 1;
- 6 325 632 242 ÷ 2 = 3 162 816 121 + 0;
- 3 162 816 121 ÷ 2 = 1 581 408 060 + 1;
- 1 581 408 060 ÷ 2 = 790 704 030 + 0;
- 790 704 030 ÷ 2 = 395 352 015 + 0;
- 395 352 015 ÷ 2 = 197 676 007 + 1;
- 197 676 007 ÷ 2 = 98 838 003 + 1;
- 98 838 003 ÷ 2 = 49 419 001 + 1;
- 49 419 001 ÷ 2 = 24 709 500 + 1;
- 24 709 500 ÷ 2 = 12 354 750 + 0;
- 12 354 750 ÷ 2 = 6 177 375 + 0;
- 6 177 375 ÷ 2 = 3 088 687 + 1;
- 3 088 687 ÷ 2 = 1 544 343 + 1;
- 1 544 343 ÷ 2 = 772 171 + 1;
- 772 171 ÷ 2 = 386 085 + 1;
- 386 085 ÷ 2 = 193 042 + 1;
- 193 042 ÷ 2 = 96 521 + 0;
- 96 521 ÷ 2 = 48 260 + 1;
- 48 260 ÷ 2 = 24 130 + 0;
- 24 130 ÷ 2 = 12 065 + 0;
- 12 065 ÷ 2 = 6 032 + 1;
- 6 032 ÷ 2 = 3 016 + 0;
- 3 016 ÷ 2 = 1 508 + 0;
- 1 508 ÷ 2 = 754 + 0;
- 754 ÷ 2 = 377 + 0;
- 377 ÷ 2 = 188 + 1;
- 188 ÷ 2 = 94 + 0;
- 94 ÷ 2 = 47 + 0;
- 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.
202 420 231 771(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
202 420 231 771 (base 10) = 10 1111 0010 0001 0010 1111 1001 1110 0101 1011 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.