What are the required steps to convert base 10 decimal system
number 3 518 889 267 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 267 ÷ 2 = 1 759 444 633 + 1;
- 1 759 444 633 ÷ 2 = 879 722 316 + 1;
- 879 722 316 ÷ 2 = 439 861 158 + 0;
- 439 861 158 ÷ 2 = 219 930 579 + 0;
- 219 930 579 ÷ 2 = 109 965 289 + 1;
- 109 965 289 ÷ 2 = 54 982 644 + 1;
- 54 982 644 ÷ 2 = 27 491 322 + 0;
- 27 491 322 ÷ 2 = 13 745 661 + 0;
- 13 745 661 ÷ 2 = 6 872 830 + 1;
- 6 872 830 ÷ 2 = 3 436 415 + 0;
- 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 267(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
3 518 889 267 (base 10) = 1101 0001 1011 1101 1111 1101 0011 0011 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.