What are the required steps to convert base 10 decimal system
number 1 790 606 162 671 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 790 606 162 671 ÷ 2 = 895 303 081 335 + 1;
- 895 303 081 335 ÷ 2 = 447 651 540 667 + 1;
- 447 651 540 667 ÷ 2 = 223 825 770 333 + 1;
- 223 825 770 333 ÷ 2 = 111 912 885 166 + 1;
- 111 912 885 166 ÷ 2 = 55 956 442 583 + 0;
- 55 956 442 583 ÷ 2 = 27 978 221 291 + 1;
- 27 978 221 291 ÷ 2 = 13 989 110 645 + 1;
- 13 989 110 645 ÷ 2 = 6 994 555 322 + 1;
- 6 994 555 322 ÷ 2 = 3 497 277 661 + 0;
- 3 497 277 661 ÷ 2 = 1 748 638 830 + 1;
- 1 748 638 830 ÷ 2 = 874 319 415 + 0;
- 874 319 415 ÷ 2 = 437 159 707 + 1;
- 437 159 707 ÷ 2 = 218 579 853 + 1;
- 218 579 853 ÷ 2 = 109 289 926 + 1;
- 109 289 926 ÷ 2 = 54 644 963 + 0;
- 54 644 963 ÷ 2 = 27 322 481 + 1;
- 27 322 481 ÷ 2 = 13 661 240 + 1;
- 13 661 240 ÷ 2 = 6 830 620 + 0;
- 6 830 620 ÷ 2 = 3 415 310 + 0;
- 3 415 310 ÷ 2 = 1 707 655 + 0;
- 1 707 655 ÷ 2 = 853 827 + 1;
- 853 827 ÷ 2 = 426 913 + 1;
- 426 913 ÷ 2 = 213 456 + 1;
- 213 456 ÷ 2 = 106 728 + 0;
- 106 728 ÷ 2 = 53 364 + 0;
- 53 364 ÷ 2 = 26 682 + 0;
- 26 682 ÷ 2 = 13 341 + 0;
- 13 341 ÷ 2 = 6 670 + 1;
- 6 670 ÷ 2 = 3 335 + 0;
- 3 335 ÷ 2 = 1 667 + 1;
- 1 667 ÷ 2 = 833 + 1;
- 833 ÷ 2 = 416 + 1;
- 416 ÷ 2 = 208 + 0;
- 208 ÷ 2 = 104 + 0;
- 104 ÷ 2 = 52 + 0;
- 52 ÷ 2 = 26 + 0;
- 26 ÷ 2 = 13 + 0;
- 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.
1 790 606 162 671(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 790 606 162 671 (base 10) = 1 1010 0000 1110 1000 0111 0001 1011 1010 1110 1111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.