What are the required steps to convert base 10 decimal system
number 1 519 704 505 138 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;
- 1 519 704 505 138 ÷ 2 = 759 852 252 569 + 0;
- 759 852 252 569 ÷ 2 = 379 926 126 284 + 1;
- 379 926 126 284 ÷ 2 = 189 963 063 142 + 0;
- 189 963 063 142 ÷ 2 = 94 981 531 571 + 0;
- 94 981 531 571 ÷ 2 = 47 490 765 785 + 1;
- 47 490 765 785 ÷ 2 = 23 745 382 892 + 1;
- 23 745 382 892 ÷ 2 = 11 872 691 446 + 0;
- 11 872 691 446 ÷ 2 = 5 936 345 723 + 0;
- 5 936 345 723 ÷ 2 = 2 968 172 861 + 1;
- 2 968 172 861 ÷ 2 = 1 484 086 430 + 1;
- 1 484 086 430 ÷ 2 = 742 043 215 + 0;
- 742 043 215 ÷ 2 = 371 021 607 + 1;
- 371 021 607 ÷ 2 = 185 510 803 + 1;
- 185 510 803 ÷ 2 = 92 755 401 + 1;
- 92 755 401 ÷ 2 = 46 377 700 + 1;
- 46 377 700 ÷ 2 = 23 188 850 + 0;
- 23 188 850 ÷ 2 = 11 594 425 + 0;
- 11 594 425 ÷ 2 = 5 797 212 + 1;
- 5 797 212 ÷ 2 = 2 898 606 + 0;
- 2 898 606 ÷ 2 = 1 449 303 + 0;
- 1 449 303 ÷ 2 = 724 651 + 1;
- 724 651 ÷ 2 = 362 325 + 1;
- 362 325 ÷ 2 = 181 162 + 1;
- 181 162 ÷ 2 = 90 581 + 0;
- 90 581 ÷ 2 = 45 290 + 1;
- 45 290 ÷ 2 = 22 645 + 0;
- 22 645 ÷ 2 = 11 322 + 1;
- 11 322 ÷ 2 = 5 661 + 0;
- 5 661 ÷ 2 = 2 830 + 1;
- 2 830 ÷ 2 = 1 415 + 0;
- 1 415 ÷ 2 = 707 + 1;
- 707 ÷ 2 = 353 + 1;
- 353 ÷ 2 = 176 + 1;
- 176 ÷ 2 = 88 + 0;
- 88 ÷ 2 = 44 + 0;
- 44 ÷ 2 = 22 + 0;
- 22 ÷ 2 = 11 + 0;
- 11 ÷ 2 = 5 + 1;
- 5 ÷ 2 = 2 + 1;
- 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.
1 519 704 505 138(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 519 704 505 138 (base 10) = 1 0110 0001 1101 0101 0111 0010 0111 1011 0011 0010 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.