What are the required steps to convert base 10 decimal system
number 240 736 829 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;
- 240 736 829 ÷ 2 = 120 368 414 + 1;
- 120 368 414 ÷ 2 = 60 184 207 + 0;
- 60 184 207 ÷ 2 = 30 092 103 + 1;
- 30 092 103 ÷ 2 = 15 046 051 + 1;
- 15 046 051 ÷ 2 = 7 523 025 + 1;
- 7 523 025 ÷ 2 = 3 761 512 + 1;
- 3 761 512 ÷ 2 = 1 880 756 + 0;
- 1 880 756 ÷ 2 = 940 378 + 0;
- 940 378 ÷ 2 = 470 189 + 0;
- 470 189 ÷ 2 = 235 094 + 1;
- 235 094 ÷ 2 = 117 547 + 0;
- 117 547 ÷ 2 = 58 773 + 1;
- 58 773 ÷ 2 = 29 386 + 1;
- 29 386 ÷ 2 = 14 693 + 0;
- 14 693 ÷ 2 = 7 346 + 1;
- 7 346 ÷ 2 = 3 673 + 0;
- 3 673 ÷ 2 = 1 836 + 1;
- 1 836 ÷ 2 = 918 + 0;
- 918 ÷ 2 = 459 + 0;
- 459 ÷ 2 = 229 + 1;
- 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.
240 736 829(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
240 736 829 (base 10) = 1110 0101 1001 0101 1010 0011 1101 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.