What are the required steps to convert base 10 decimal system
number 122 338 833 663 922 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;
- 122 338 833 663 922 ÷ 2 = 61 169 416 831 961 + 0;
- 61 169 416 831 961 ÷ 2 = 30 584 708 415 980 + 1;
- 30 584 708 415 980 ÷ 2 = 15 292 354 207 990 + 0;
- 15 292 354 207 990 ÷ 2 = 7 646 177 103 995 + 0;
- 7 646 177 103 995 ÷ 2 = 3 823 088 551 997 + 1;
- 3 823 088 551 997 ÷ 2 = 1 911 544 275 998 + 1;
- 1 911 544 275 998 ÷ 2 = 955 772 137 999 + 0;
- 955 772 137 999 ÷ 2 = 477 886 068 999 + 1;
- 477 886 068 999 ÷ 2 = 238 943 034 499 + 1;
- 238 943 034 499 ÷ 2 = 119 471 517 249 + 1;
- 119 471 517 249 ÷ 2 = 59 735 758 624 + 1;
- 59 735 758 624 ÷ 2 = 29 867 879 312 + 0;
- 29 867 879 312 ÷ 2 = 14 933 939 656 + 0;
- 14 933 939 656 ÷ 2 = 7 466 969 828 + 0;
- 7 466 969 828 ÷ 2 = 3 733 484 914 + 0;
- 3 733 484 914 ÷ 2 = 1 866 742 457 + 0;
- 1 866 742 457 ÷ 2 = 933 371 228 + 1;
- 933 371 228 ÷ 2 = 466 685 614 + 0;
- 466 685 614 ÷ 2 = 233 342 807 + 0;
- 233 342 807 ÷ 2 = 116 671 403 + 1;
- 116 671 403 ÷ 2 = 58 335 701 + 1;
- 58 335 701 ÷ 2 = 29 167 850 + 1;
- 29 167 850 ÷ 2 = 14 583 925 + 0;
- 14 583 925 ÷ 2 = 7 291 962 + 1;
- 7 291 962 ÷ 2 = 3 645 981 + 0;
- 3 645 981 ÷ 2 = 1 822 990 + 1;
- 1 822 990 ÷ 2 = 911 495 + 0;
- 911 495 ÷ 2 = 455 747 + 1;
- 455 747 ÷ 2 = 227 873 + 1;
- 227 873 ÷ 2 = 113 936 + 1;
- 113 936 ÷ 2 = 56 968 + 0;
- 56 968 ÷ 2 = 28 484 + 0;
- 28 484 ÷ 2 = 14 242 + 0;
- 14 242 ÷ 2 = 7 121 + 0;
- 7 121 ÷ 2 = 3 560 + 1;
- 3 560 ÷ 2 = 1 780 + 0;
- 1 780 ÷ 2 = 890 + 0;
- 890 ÷ 2 = 445 + 0;
- 445 ÷ 2 = 222 + 1;
- 222 ÷ 2 = 111 + 0;
- 111 ÷ 2 = 55 + 1;
- 55 ÷ 2 = 27 + 1;
- 27 ÷ 2 = 13 + 1;
- 13 ÷ 2 = 6 + 1;
- 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.
122 338 833 663 922(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
122 338 833 663 922 (base 10) = 110 1111 0100 0100 0011 1010 1011 1001 0000 0111 1011 0010 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.