What are the required steps to convert base 10 decimal system
number 18 779 967 444 521 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;
- 18 779 967 444 521 ÷ 2 = 9 389 983 722 260 + 1;
- 9 389 983 722 260 ÷ 2 = 4 694 991 861 130 + 0;
- 4 694 991 861 130 ÷ 2 = 2 347 495 930 565 + 0;
- 2 347 495 930 565 ÷ 2 = 1 173 747 965 282 + 1;
- 1 173 747 965 282 ÷ 2 = 586 873 982 641 + 0;
- 586 873 982 641 ÷ 2 = 293 436 991 320 + 1;
- 293 436 991 320 ÷ 2 = 146 718 495 660 + 0;
- 146 718 495 660 ÷ 2 = 73 359 247 830 + 0;
- 73 359 247 830 ÷ 2 = 36 679 623 915 + 0;
- 36 679 623 915 ÷ 2 = 18 339 811 957 + 1;
- 18 339 811 957 ÷ 2 = 9 169 905 978 + 1;
- 9 169 905 978 ÷ 2 = 4 584 952 989 + 0;
- 4 584 952 989 ÷ 2 = 2 292 476 494 + 1;
- 2 292 476 494 ÷ 2 = 1 146 238 247 + 0;
- 1 146 238 247 ÷ 2 = 573 119 123 + 1;
- 573 119 123 ÷ 2 = 286 559 561 + 1;
- 286 559 561 ÷ 2 = 143 279 780 + 1;
- 143 279 780 ÷ 2 = 71 639 890 + 0;
- 71 639 890 ÷ 2 = 35 819 945 + 0;
- 35 819 945 ÷ 2 = 17 909 972 + 1;
- 17 909 972 ÷ 2 = 8 954 986 + 0;
- 8 954 986 ÷ 2 = 4 477 493 + 0;
- 4 477 493 ÷ 2 = 2 238 746 + 1;
- 2 238 746 ÷ 2 = 1 119 373 + 0;
- 1 119 373 ÷ 2 = 559 686 + 1;
- 559 686 ÷ 2 = 279 843 + 0;
- 279 843 ÷ 2 = 139 921 + 1;
- 139 921 ÷ 2 = 69 960 + 1;
- 69 960 ÷ 2 = 34 980 + 0;
- 34 980 ÷ 2 = 17 490 + 0;
- 17 490 ÷ 2 = 8 745 + 0;
- 8 745 ÷ 2 = 4 372 + 1;
- 4 372 ÷ 2 = 2 186 + 0;
- 2 186 ÷ 2 = 1 093 + 0;
- 1 093 ÷ 2 = 546 + 1;
- 546 ÷ 2 = 273 + 0;
- 273 ÷ 2 = 136 + 1;
- 136 ÷ 2 = 68 + 0;
- 68 ÷ 2 = 34 + 0;
- 34 ÷ 2 = 17 + 0;
- 17 ÷ 2 = 8 + 1;
- 8 ÷ 2 = 4 + 0;
- 4 ÷ 2 = 2 + 0;
- 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.
18 779 967 444 521(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
18 779 967 444 521 (base 10) = 1 0001 0001 0100 1000 1101 0100 1001 1101 0110 0010 1001 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.