What are the required steps to convert base 10 decimal system
number 3 518 889 599 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;
- 3 518 889 599 ÷ 2 = 1 759 444 799 + 1;
- 1 759 444 799 ÷ 2 = 879 722 399 + 1;
- 879 722 399 ÷ 2 = 439 861 199 + 1;
- 439 861 199 ÷ 2 = 219 930 599 + 1;
- 219 930 599 ÷ 2 = 109 965 299 + 1;
- 109 965 299 ÷ 2 = 54 982 649 + 1;
- 54 982 649 ÷ 2 = 27 491 324 + 1;
- 27 491 324 ÷ 2 = 13 745 662 + 0;
- 13 745 662 ÷ 2 = 6 872 831 + 0;
- 6 872 831 ÷ 2 = 3 436 415 + 1;
- 3 436 415 ÷ 2 = 1 718 207 + 1;
- 1 718 207 ÷ 2 = 859 103 + 1;
- 859 103 ÷ 2 = 429 551 + 1;
- 429 551 ÷ 2 = 214 775 + 1;
- 214 775 ÷ 2 = 107 387 + 1;
- 107 387 ÷ 2 = 53 693 + 1;
- 53 693 ÷ 2 = 26 846 + 1;
- 26 846 ÷ 2 = 13 423 + 0;
- 13 423 ÷ 2 = 6 711 + 1;
- 6 711 ÷ 2 = 3 355 + 1;
- 3 355 ÷ 2 = 1 677 + 1;
- 1 677 ÷ 2 = 838 + 1;
- 838 ÷ 2 = 419 + 0;
- 419 ÷ 2 = 209 + 1;
- 209 ÷ 2 = 104 + 1;
- 104 ÷ 2 = 52 + 0;
- 52 ÷ 2 = 26 + 0;
- 26 ÷ 2 = 13 + 0;
- 13 ÷ 2 = 6 + 1;
- 6 ÷ 2 = 3 + 0;
- 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.
3 518 889 599(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
3 518 889 599 (base 10) = 1101 0001 1011 1101 1111 1110 0111 1111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.