What are the required steps to convert base 10 decimal system
number 3 678 560 898 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 678 560 898 ÷ 2 = 1 839 280 449 + 0;
- 1 839 280 449 ÷ 2 = 919 640 224 + 1;
- 919 640 224 ÷ 2 = 459 820 112 + 0;
- 459 820 112 ÷ 2 = 229 910 056 + 0;
- 229 910 056 ÷ 2 = 114 955 028 + 0;
- 114 955 028 ÷ 2 = 57 477 514 + 0;
- 57 477 514 ÷ 2 = 28 738 757 + 0;
- 28 738 757 ÷ 2 = 14 369 378 + 1;
- 14 369 378 ÷ 2 = 7 184 689 + 0;
- 7 184 689 ÷ 2 = 3 592 344 + 1;
- 3 592 344 ÷ 2 = 1 796 172 + 0;
- 1 796 172 ÷ 2 = 898 086 + 0;
- 898 086 ÷ 2 = 449 043 + 0;
- 449 043 ÷ 2 = 224 521 + 1;
- 224 521 ÷ 2 = 112 260 + 1;
- 112 260 ÷ 2 = 56 130 + 0;
- 56 130 ÷ 2 = 28 065 + 0;
- 28 065 ÷ 2 = 14 032 + 1;
- 14 032 ÷ 2 = 7 016 + 0;
- 7 016 ÷ 2 = 3 508 + 0;
- 3 508 ÷ 2 = 1 754 + 0;
- 1 754 ÷ 2 = 877 + 0;
- 877 ÷ 2 = 438 + 1;
- 438 ÷ 2 = 219 + 0;
- 219 ÷ 2 = 109 + 1;
- 109 ÷ 2 = 54 + 1;
- 54 ÷ 2 = 27 + 0;
- 27 ÷ 2 = 13 + 1;
- 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 678 560 898(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
3 678 560 898 (base 10) = 1101 1011 0100 0010 0110 0010 1000 0010 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.