What are the required steps to convert base 10 decimal system
number 8 900 313 016 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 016 ÷ 2 = 4 450 156 508 + 0;
- 4 450 156 508 ÷ 2 = 2 225 078 254 + 0;
- 2 225 078 254 ÷ 2 = 1 112 539 127 + 0;
- 1 112 539 127 ÷ 2 = 556 269 563 + 1;
- 556 269 563 ÷ 2 = 278 134 781 + 1;
- 278 134 781 ÷ 2 = 139 067 390 + 1;
- 139 067 390 ÷ 2 = 69 533 695 + 0;
- 69 533 695 ÷ 2 = 34 766 847 + 1;
- 34 766 847 ÷ 2 = 17 383 423 + 1;
- 17 383 423 ÷ 2 = 8 691 711 + 1;
- 8 691 711 ÷ 2 = 4 345 855 + 1;
- 4 345 855 ÷ 2 = 2 172 927 + 1;
- 2 172 927 ÷ 2 = 1 086 463 + 1;
- 1 086 463 ÷ 2 = 543 231 + 1;
- 543 231 ÷ 2 = 271 615 + 1;
- 271 615 ÷ 2 = 135 807 + 1;
- 135 807 ÷ 2 = 67 903 + 1;
- 67 903 ÷ 2 = 33 951 + 1;
- 33 951 ÷ 2 = 16 975 + 1;
- 16 975 ÷ 2 = 8 487 + 1;
- 8 487 ÷ 2 = 4 243 + 1;
- 4 243 ÷ 2 = 2 121 + 1;
- 2 121 ÷ 2 = 1 060 + 1;
- 1 060 ÷ 2 = 530 + 0;
- 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 016(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
8 900 313 016 (base 10) = 10 0001 0010 0111 1111 1111 1111 1011 1000 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.