What are the required steps to convert base 10 decimal system
number 1 231 312 312 312 312 289 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 231 312 312 312 312 289 ÷ 2 = 615 656 156 156 156 144 + 1;
- 615 656 156 156 156 144 ÷ 2 = 307 828 078 078 078 072 + 0;
- 307 828 078 078 078 072 ÷ 2 = 153 914 039 039 039 036 + 0;
- 153 914 039 039 039 036 ÷ 2 = 76 957 019 519 519 518 + 0;
- 76 957 019 519 519 518 ÷ 2 = 38 478 509 759 759 759 + 0;
- 38 478 509 759 759 759 ÷ 2 = 19 239 254 879 879 879 + 1;
- 19 239 254 879 879 879 ÷ 2 = 9 619 627 439 939 939 + 1;
- 9 619 627 439 939 939 ÷ 2 = 4 809 813 719 969 969 + 1;
- 4 809 813 719 969 969 ÷ 2 = 2 404 906 859 984 984 + 1;
- 2 404 906 859 984 984 ÷ 2 = 1 202 453 429 992 492 + 0;
- 1 202 453 429 992 492 ÷ 2 = 601 226 714 996 246 + 0;
- 601 226 714 996 246 ÷ 2 = 300 613 357 498 123 + 0;
- 300 613 357 498 123 ÷ 2 = 150 306 678 749 061 + 1;
- 150 306 678 749 061 ÷ 2 = 75 153 339 374 530 + 1;
- 75 153 339 374 530 ÷ 2 = 37 576 669 687 265 + 0;
- 37 576 669 687 265 ÷ 2 = 18 788 334 843 632 + 1;
- 18 788 334 843 632 ÷ 2 = 9 394 167 421 816 + 0;
- 9 394 167 421 816 ÷ 2 = 4 697 083 710 908 + 0;
- 4 697 083 710 908 ÷ 2 = 2 348 541 855 454 + 0;
- 2 348 541 855 454 ÷ 2 = 1 174 270 927 727 + 0;
- 1 174 270 927 727 ÷ 2 = 587 135 463 863 + 1;
- 587 135 463 863 ÷ 2 = 293 567 731 931 + 1;
- 293 567 731 931 ÷ 2 = 146 783 865 965 + 1;
- 146 783 865 965 ÷ 2 = 73 391 932 982 + 1;
- 73 391 932 982 ÷ 2 = 36 695 966 491 + 0;
- 36 695 966 491 ÷ 2 = 18 347 983 245 + 1;
- 18 347 983 245 ÷ 2 = 9 173 991 622 + 1;
- 9 173 991 622 ÷ 2 = 4 586 995 811 + 0;
- 4 586 995 811 ÷ 2 = 2 293 497 905 + 1;
- 2 293 497 905 ÷ 2 = 1 146 748 952 + 1;
- 1 146 748 952 ÷ 2 = 573 374 476 + 0;
- 573 374 476 ÷ 2 = 286 687 238 + 0;
- 286 687 238 ÷ 2 = 143 343 619 + 0;
- 143 343 619 ÷ 2 = 71 671 809 + 1;
- 71 671 809 ÷ 2 = 35 835 904 + 1;
- 35 835 904 ÷ 2 = 17 917 952 + 0;
- 17 917 952 ÷ 2 = 8 958 976 + 0;
- 8 958 976 ÷ 2 = 4 479 488 + 0;
- 4 479 488 ÷ 2 = 2 239 744 + 0;
- 2 239 744 ÷ 2 = 1 119 872 + 0;
- 1 119 872 ÷ 2 = 559 936 + 0;
- 559 936 ÷ 2 = 279 968 + 0;
- 279 968 ÷ 2 = 139 984 + 0;
- 139 984 ÷ 2 = 69 992 + 0;
- 69 992 ÷ 2 = 34 996 + 0;
- 34 996 ÷ 2 = 17 498 + 0;
- 17 498 ÷ 2 = 8 749 + 0;
- 8 749 ÷ 2 = 4 374 + 1;
- 4 374 ÷ 2 = 2 187 + 0;
- 2 187 ÷ 2 = 1 093 + 1;
- 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.
1 231 312 312 312 312 289(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 231 312 312 312 312 289 (base 10) = 1 0001 0001 0110 1000 0000 0000 0110 0011 0110 1111 0000 1011 0001 1110 0001 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.