What are the required steps to convert base 10 decimal system
number 1 084 227 248 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 084 227 248 ÷ 2 = 542 113 624 + 0;
- 542 113 624 ÷ 2 = 271 056 812 + 0;
- 271 056 812 ÷ 2 = 135 528 406 + 0;
- 135 528 406 ÷ 2 = 67 764 203 + 0;
- 67 764 203 ÷ 2 = 33 882 101 + 1;
- 33 882 101 ÷ 2 = 16 941 050 + 1;
- 16 941 050 ÷ 2 = 8 470 525 + 0;
- 8 470 525 ÷ 2 = 4 235 262 + 1;
- 4 235 262 ÷ 2 = 2 117 631 + 0;
- 2 117 631 ÷ 2 = 1 058 815 + 1;
- 1 058 815 ÷ 2 = 529 407 + 1;
- 529 407 ÷ 2 = 264 703 + 1;
- 264 703 ÷ 2 = 132 351 + 1;
- 132 351 ÷ 2 = 66 175 + 1;
- 66 175 ÷ 2 = 33 087 + 1;
- 33 087 ÷ 2 = 16 543 + 1;
- 16 543 ÷ 2 = 8 271 + 1;
- 8 271 ÷ 2 = 4 135 + 1;
- 4 135 ÷ 2 = 2 067 + 1;
- 2 067 ÷ 2 = 1 033 + 1;
- 1 033 ÷ 2 = 516 + 1;
- 516 ÷ 2 = 258 + 0;
- 258 ÷ 2 = 129 + 0;
- 129 ÷ 2 = 64 + 1;
- 64 ÷ 2 = 32 + 0;
- 32 ÷ 2 = 16 + 0;
- 16 ÷ 2 = 8 + 0;
- 8 ÷ 2 = 4 + 0;
- 4 ÷ 2 = 2 + 0;
- 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 084 227 248(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 084 227 248 (base 10) = 100 0000 1001 1111 1111 1110 1011 0000 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.