What are the required steps to convert base 10 decimal system
number 8 900 313 231 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;
- 8 900 313 231 ÷ 2 = 4 450 156 615 + 1;
- 4 450 156 615 ÷ 2 = 2 225 078 307 + 1;
- 2 225 078 307 ÷ 2 = 1 112 539 153 + 1;
- 1 112 539 153 ÷ 2 = 556 269 576 + 1;
- 556 269 576 ÷ 2 = 278 134 788 + 0;
- 278 134 788 ÷ 2 = 139 067 394 + 0;
- 139 067 394 ÷ 2 = 69 533 697 + 0;
- 69 533 697 ÷ 2 = 34 766 848 + 1;
- 34 766 848 ÷ 2 = 17 383 424 + 0;
- 17 383 424 ÷ 2 = 8 691 712 + 0;
- 8 691 712 ÷ 2 = 4 345 856 + 0;
- 4 345 856 ÷ 2 = 2 172 928 + 0;
- 2 172 928 ÷ 2 = 1 086 464 + 0;
- 1 086 464 ÷ 2 = 543 232 + 0;
- 543 232 ÷ 2 = 271 616 + 0;
- 271 616 ÷ 2 = 135 808 + 0;
- 135 808 ÷ 2 = 67 904 + 0;
- 67 904 ÷ 2 = 33 952 + 0;
- 33 952 ÷ 2 = 16 976 + 0;
- 16 976 ÷ 2 = 8 488 + 0;
- 8 488 ÷ 2 = 4 244 + 0;
- 4 244 ÷ 2 = 2 122 + 0;
- 2 122 ÷ 2 = 1 061 + 0;
- 1 061 ÷ 2 = 530 + 1;
- 530 ÷ 2 = 265 + 0;
- 265 ÷ 2 = 132 + 1;
- 132 ÷ 2 = 66 + 0;
- 66 ÷ 2 = 33 + 0;
- 33 ÷ 2 = 16 + 1;
- 16 ÷ 2 = 8 + 0;
- 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.
8 900 313 231(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
8 900 313 231 (base 10) = 10 0001 0010 1000 0000 0000 0000 1000 1111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.