What are the required steps to convert base 10 decimal system
number 2 347 309 506 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;
- 2 347 309 506 ÷ 2 = 1 173 654 753 + 0;
- 1 173 654 753 ÷ 2 = 586 827 376 + 1;
- 586 827 376 ÷ 2 = 293 413 688 + 0;
- 293 413 688 ÷ 2 = 146 706 844 + 0;
- 146 706 844 ÷ 2 = 73 353 422 + 0;
- 73 353 422 ÷ 2 = 36 676 711 + 0;
- 36 676 711 ÷ 2 = 18 338 355 + 1;
- 18 338 355 ÷ 2 = 9 169 177 + 1;
- 9 169 177 ÷ 2 = 4 584 588 + 1;
- 4 584 588 ÷ 2 = 2 292 294 + 0;
- 2 292 294 ÷ 2 = 1 146 147 + 0;
- 1 146 147 ÷ 2 = 573 073 + 1;
- 573 073 ÷ 2 = 286 536 + 1;
- 286 536 ÷ 2 = 143 268 + 0;
- 143 268 ÷ 2 = 71 634 + 0;
- 71 634 ÷ 2 = 35 817 + 0;
- 35 817 ÷ 2 = 17 908 + 1;
- 17 908 ÷ 2 = 8 954 + 0;
- 8 954 ÷ 2 = 4 477 + 0;
- 4 477 ÷ 2 = 2 238 + 1;
- 2 238 ÷ 2 = 1 119 + 0;
- 1 119 ÷ 2 = 559 + 1;
- 559 ÷ 2 = 279 + 1;
- 279 ÷ 2 = 139 + 1;
- 139 ÷ 2 = 69 + 1;
- 69 ÷ 2 = 34 + 1;
- 34 ÷ 2 = 17 + 0;
- 17 ÷ 2 = 8 + 1;
- 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.
2 347 309 506(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
2 347 309 506 (base 10) = 1000 1011 1110 1001 0001 1001 1100 0010 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.