What are the required steps to convert base 10 decimal system
number 100 111 010 111 281 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;
- 100 111 010 111 281 ÷ 2 = 50 055 505 055 640 + 1;
- 50 055 505 055 640 ÷ 2 = 25 027 752 527 820 + 0;
- 25 027 752 527 820 ÷ 2 = 12 513 876 263 910 + 0;
- 12 513 876 263 910 ÷ 2 = 6 256 938 131 955 + 0;
- 6 256 938 131 955 ÷ 2 = 3 128 469 065 977 + 1;
- 3 128 469 065 977 ÷ 2 = 1 564 234 532 988 + 1;
- 1 564 234 532 988 ÷ 2 = 782 117 266 494 + 0;
- 782 117 266 494 ÷ 2 = 391 058 633 247 + 0;
- 391 058 633 247 ÷ 2 = 195 529 316 623 + 1;
- 195 529 316 623 ÷ 2 = 97 764 658 311 + 1;
- 97 764 658 311 ÷ 2 = 48 882 329 155 + 1;
- 48 882 329 155 ÷ 2 = 24 441 164 577 + 1;
- 24 441 164 577 ÷ 2 = 12 220 582 288 + 1;
- 12 220 582 288 ÷ 2 = 6 110 291 144 + 0;
- 6 110 291 144 ÷ 2 = 3 055 145 572 + 0;
- 3 055 145 572 ÷ 2 = 1 527 572 786 + 0;
- 1 527 572 786 ÷ 2 = 763 786 393 + 0;
- 763 786 393 ÷ 2 = 381 893 196 + 1;
- 381 893 196 ÷ 2 = 190 946 598 + 0;
- 190 946 598 ÷ 2 = 95 473 299 + 0;
- 95 473 299 ÷ 2 = 47 736 649 + 1;
- 47 736 649 ÷ 2 = 23 868 324 + 1;
- 23 868 324 ÷ 2 = 11 934 162 + 0;
- 11 934 162 ÷ 2 = 5 967 081 + 0;
- 5 967 081 ÷ 2 = 2 983 540 + 1;
- 2 983 540 ÷ 2 = 1 491 770 + 0;
- 1 491 770 ÷ 2 = 745 885 + 0;
- 745 885 ÷ 2 = 372 942 + 1;
- 372 942 ÷ 2 = 186 471 + 0;
- 186 471 ÷ 2 = 93 235 + 1;
- 93 235 ÷ 2 = 46 617 + 1;
- 46 617 ÷ 2 = 23 308 + 1;
- 23 308 ÷ 2 = 11 654 + 0;
- 11 654 ÷ 2 = 5 827 + 0;
- 5 827 ÷ 2 = 2 913 + 1;
- 2 913 ÷ 2 = 1 456 + 1;
- 1 456 ÷ 2 = 728 + 0;
- 728 ÷ 2 = 364 + 0;
- 364 ÷ 2 = 182 + 0;
- 182 ÷ 2 = 91 + 0;
- 91 ÷ 2 = 45 + 1;
- 45 ÷ 2 = 22 + 1;
- 22 ÷ 2 = 11 + 0;
- 11 ÷ 2 = 5 + 1;
- 5 ÷ 2 = 2 + 1;
- 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.
100 111 010 111 281(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
100 111 010 111 281 (base 10) = 101 1011 0000 1100 1110 1001 0011 0010 0001 1111 0011 0001 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.