What are the required steps to convert base 10 decimal system
number 1 587 175 249 991 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 587 175 249 991 ÷ 2 = 793 587 624 995 + 1;
- 793 587 624 995 ÷ 2 = 396 793 812 497 + 1;
- 396 793 812 497 ÷ 2 = 198 396 906 248 + 1;
- 198 396 906 248 ÷ 2 = 99 198 453 124 + 0;
- 99 198 453 124 ÷ 2 = 49 599 226 562 + 0;
- 49 599 226 562 ÷ 2 = 24 799 613 281 + 0;
- 24 799 613 281 ÷ 2 = 12 399 806 640 + 1;
- 12 399 806 640 ÷ 2 = 6 199 903 320 + 0;
- 6 199 903 320 ÷ 2 = 3 099 951 660 + 0;
- 3 099 951 660 ÷ 2 = 1 549 975 830 + 0;
- 1 549 975 830 ÷ 2 = 774 987 915 + 0;
- 774 987 915 ÷ 2 = 387 493 957 + 1;
- 387 493 957 ÷ 2 = 193 746 978 + 1;
- 193 746 978 ÷ 2 = 96 873 489 + 0;
- 96 873 489 ÷ 2 = 48 436 744 + 1;
- 48 436 744 ÷ 2 = 24 218 372 + 0;
- 24 218 372 ÷ 2 = 12 109 186 + 0;
- 12 109 186 ÷ 2 = 6 054 593 + 0;
- 6 054 593 ÷ 2 = 3 027 296 + 1;
- 3 027 296 ÷ 2 = 1 513 648 + 0;
- 1 513 648 ÷ 2 = 756 824 + 0;
- 756 824 ÷ 2 = 378 412 + 0;
- 378 412 ÷ 2 = 189 206 + 0;
- 189 206 ÷ 2 = 94 603 + 0;
- 94 603 ÷ 2 = 47 301 + 1;
- 47 301 ÷ 2 = 23 650 + 1;
- 23 650 ÷ 2 = 11 825 + 0;
- 11 825 ÷ 2 = 5 912 + 1;
- 5 912 ÷ 2 = 2 956 + 0;
- 2 956 ÷ 2 = 1 478 + 0;
- 1 478 ÷ 2 = 739 + 0;
- 739 ÷ 2 = 369 + 1;
- 369 ÷ 2 = 184 + 1;
- 184 ÷ 2 = 92 + 0;
- 92 ÷ 2 = 46 + 0;
- 46 ÷ 2 = 23 + 0;
- 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 587 175 249 991(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 587 175 249 991 (base 10) = 1 0111 0001 1000 1011 0000 0100 0101 1000 0100 0111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.