What are the required steps to convert base 10 decimal system
number 1 921 680 089 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 921 680 089 ÷ 2 = 960 840 044 + 1;
- 960 840 044 ÷ 2 = 480 420 022 + 0;
- 480 420 022 ÷ 2 = 240 210 011 + 0;
- 240 210 011 ÷ 2 = 120 105 005 + 1;
- 120 105 005 ÷ 2 = 60 052 502 + 1;
- 60 052 502 ÷ 2 = 30 026 251 + 0;
- 30 026 251 ÷ 2 = 15 013 125 + 1;
- 15 013 125 ÷ 2 = 7 506 562 + 1;
- 7 506 562 ÷ 2 = 3 753 281 + 0;
- 3 753 281 ÷ 2 = 1 876 640 + 1;
- 1 876 640 ÷ 2 = 938 320 + 0;
- 938 320 ÷ 2 = 469 160 + 0;
- 469 160 ÷ 2 = 234 580 + 0;
- 234 580 ÷ 2 = 117 290 + 0;
- 117 290 ÷ 2 = 58 645 + 0;
- 58 645 ÷ 2 = 29 322 + 1;
- 29 322 ÷ 2 = 14 661 + 0;
- 14 661 ÷ 2 = 7 330 + 1;
- 7 330 ÷ 2 = 3 665 + 0;
- 3 665 ÷ 2 = 1 832 + 1;
- 1 832 ÷ 2 = 916 + 0;
- 916 ÷ 2 = 458 + 0;
- 458 ÷ 2 = 229 + 0;
- 229 ÷ 2 = 114 + 1;
- 114 ÷ 2 = 57 + 0;
- 57 ÷ 2 = 28 + 1;
- 28 ÷ 2 = 14 + 0;
- 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.
1 921 680 089(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 921 680 089 (base 10) = 111 0010 1000 1010 1000 0010 1101 1001 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.