What are the required steps to convert base 10 decimal system
number 2 142 351 345 412 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;
- 2 142 351 345 412 ÷ 2 = 1 071 175 672 706 + 0;
- 1 071 175 672 706 ÷ 2 = 535 587 836 353 + 0;
- 535 587 836 353 ÷ 2 = 267 793 918 176 + 1;
- 267 793 918 176 ÷ 2 = 133 896 959 088 + 0;
- 133 896 959 088 ÷ 2 = 66 948 479 544 + 0;
- 66 948 479 544 ÷ 2 = 33 474 239 772 + 0;
- 33 474 239 772 ÷ 2 = 16 737 119 886 + 0;
- 16 737 119 886 ÷ 2 = 8 368 559 943 + 0;
- 8 368 559 943 ÷ 2 = 4 184 279 971 + 1;
- 4 184 279 971 ÷ 2 = 2 092 139 985 + 1;
- 2 092 139 985 ÷ 2 = 1 046 069 992 + 1;
- 1 046 069 992 ÷ 2 = 523 034 996 + 0;
- 523 034 996 ÷ 2 = 261 517 498 + 0;
- 261 517 498 ÷ 2 = 130 758 749 + 0;
- 130 758 749 ÷ 2 = 65 379 374 + 1;
- 65 379 374 ÷ 2 = 32 689 687 + 0;
- 32 689 687 ÷ 2 = 16 344 843 + 1;
- 16 344 843 ÷ 2 = 8 172 421 + 1;
- 8 172 421 ÷ 2 = 4 086 210 + 1;
- 4 086 210 ÷ 2 = 2 043 105 + 0;
- 2 043 105 ÷ 2 = 1 021 552 + 1;
- 1 021 552 ÷ 2 = 510 776 + 0;
- 510 776 ÷ 2 = 255 388 + 0;
- 255 388 ÷ 2 = 127 694 + 0;
- 127 694 ÷ 2 = 63 847 + 0;
- 63 847 ÷ 2 = 31 923 + 1;
- 31 923 ÷ 2 = 15 961 + 1;
- 15 961 ÷ 2 = 7 980 + 1;
- 7 980 ÷ 2 = 3 990 + 0;
- 3 990 ÷ 2 = 1 995 + 0;
- 1 995 ÷ 2 = 997 + 1;
- 997 ÷ 2 = 498 + 1;
- 498 ÷ 2 = 249 + 0;
- 249 ÷ 2 = 124 + 1;
- 124 ÷ 2 = 62 + 0;
- 62 ÷ 2 = 31 + 0;
- 31 ÷ 2 = 15 + 1;
- 15 ÷ 2 = 7 + 1;
- 7 ÷ 2 = 3 + 1;
- 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.
2 142 351 345 412(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
2 142 351 345 412 (base 10) = 1 1111 0010 1100 1110 0001 0111 0100 0111 0000 0100 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.