What are the required steps to convert base 10 decimal system
number 1 791 423 349 266 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 791 423 349 266 ÷ 2 = 895 711 674 633 + 0;
- 895 711 674 633 ÷ 2 = 447 855 837 316 + 1;
- 447 855 837 316 ÷ 2 = 223 927 918 658 + 0;
- 223 927 918 658 ÷ 2 = 111 963 959 329 + 0;
- 111 963 959 329 ÷ 2 = 55 981 979 664 + 1;
- 55 981 979 664 ÷ 2 = 27 990 989 832 + 0;
- 27 990 989 832 ÷ 2 = 13 995 494 916 + 0;
- 13 995 494 916 ÷ 2 = 6 997 747 458 + 0;
- 6 997 747 458 ÷ 2 = 3 498 873 729 + 0;
- 3 498 873 729 ÷ 2 = 1 749 436 864 + 1;
- 1 749 436 864 ÷ 2 = 874 718 432 + 0;
- 874 718 432 ÷ 2 = 437 359 216 + 0;
- 437 359 216 ÷ 2 = 218 679 608 + 0;
- 218 679 608 ÷ 2 = 109 339 804 + 0;
- 109 339 804 ÷ 2 = 54 669 902 + 0;
- 54 669 902 ÷ 2 = 27 334 951 + 0;
- 27 334 951 ÷ 2 = 13 667 475 + 1;
- 13 667 475 ÷ 2 = 6 833 737 + 1;
- 6 833 737 ÷ 2 = 3 416 868 + 1;
- 3 416 868 ÷ 2 = 1 708 434 + 0;
- 1 708 434 ÷ 2 = 854 217 + 0;
- 854 217 ÷ 2 = 427 108 + 1;
- 427 108 ÷ 2 = 213 554 + 0;
- 213 554 ÷ 2 = 106 777 + 0;
- 106 777 ÷ 2 = 53 388 + 1;
- 53 388 ÷ 2 = 26 694 + 0;
- 26 694 ÷ 2 = 13 347 + 0;
- 13 347 ÷ 2 = 6 673 + 1;
- 6 673 ÷ 2 = 3 336 + 1;
- 3 336 ÷ 2 = 1 668 + 0;
- 1 668 ÷ 2 = 834 + 0;
- 834 ÷ 2 = 417 + 0;
- 417 ÷ 2 = 208 + 1;
- 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 791 423 349 266(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 791 423 349 266 (base 10) = 1 1010 0001 0001 1001 0010 0111 0000 0010 0001 0010 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.