What are the required steps to convert base 10 decimal system
number 4 010 868 510 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;
- 4 010 868 510 ÷ 2 = 2 005 434 255 + 0;
- 2 005 434 255 ÷ 2 = 1 002 717 127 + 1;
- 1 002 717 127 ÷ 2 = 501 358 563 + 1;
- 501 358 563 ÷ 2 = 250 679 281 + 1;
- 250 679 281 ÷ 2 = 125 339 640 + 1;
- 125 339 640 ÷ 2 = 62 669 820 + 0;
- 62 669 820 ÷ 2 = 31 334 910 + 0;
- 31 334 910 ÷ 2 = 15 667 455 + 0;
- 15 667 455 ÷ 2 = 7 833 727 + 1;
- 7 833 727 ÷ 2 = 3 916 863 + 1;
- 3 916 863 ÷ 2 = 1 958 431 + 1;
- 1 958 431 ÷ 2 = 979 215 + 1;
- 979 215 ÷ 2 = 489 607 + 1;
- 489 607 ÷ 2 = 244 803 + 1;
- 244 803 ÷ 2 = 122 401 + 1;
- 122 401 ÷ 2 = 61 200 + 1;
- 61 200 ÷ 2 = 30 600 + 0;
- 30 600 ÷ 2 = 15 300 + 0;
- 15 300 ÷ 2 = 7 650 + 0;
- 7 650 ÷ 2 = 3 825 + 0;
- 3 825 ÷ 2 = 1 912 + 1;
- 1 912 ÷ 2 = 956 + 0;
- 956 ÷ 2 = 478 + 0;
- 478 ÷ 2 = 239 + 0;
- 239 ÷ 2 = 119 + 1;
- 119 ÷ 2 = 59 + 1;
- 59 ÷ 2 = 29 + 1;
- 29 ÷ 2 = 14 + 1;
- 14 ÷ 2 = 7 + 0;
- 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.
4 010 868 510(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
4 010 868 510 (base 10) = 1110 1111 0001 0000 1111 1111 0001 1110 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.