What are the required steps to convert base 10 decimal system
number 1 246 719 254 239 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 246 719 254 239 ÷ 2 = 623 359 627 119 + 1;
- 623 359 627 119 ÷ 2 = 311 679 813 559 + 1;
- 311 679 813 559 ÷ 2 = 155 839 906 779 + 1;
- 155 839 906 779 ÷ 2 = 77 919 953 389 + 1;
- 77 919 953 389 ÷ 2 = 38 959 976 694 + 1;
- 38 959 976 694 ÷ 2 = 19 479 988 347 + 0;
- 19 479 988 347 ÷ 2 = 9 739 994 173 + 1;
- 9 739 994 173 ÷ 2 = 4 869 997 086 + 1;
- 4 869 997 086 ÷ 2 = 2 434 998 543 + 0;
- 2 434 998 543 ÷ 2 = 1 217 499 271 + 1;
- 1 217 499 271 ÷ 2 = 608 749 635 + 1;
- 608 749 635 ÷ 2 = 304 374 817 + 1;
- 304 374 817 ÷ 2 = 152 187 408 + 1;
- 152 187 408 ÷ 2 = 76 093 704 + 0;
- 76 093 704 ÷ 2 = 38 046 852 + 0;
- 38 046 852 ÷ 2 = 19 023 426 + 0;
- 19 023 426 ÷ 2 = 9 511 713 + 0;
- 9 511 713 ÷ 2 = 4 755 856 + 1;
- 4 755 856 ÷ 2 = 2 377 928 + 0;
- 2 377 928 ÷ 2 = 1 188 964 + 0;
- 1 188 964 ÷ 2 = 594 482 + 0;
- 594 482 ÷ 2 = 297 241 + 0;
- 297 241 ÷ 2 = 148 620 + 1;
- 148 620 ÷ 2 = 74 310 + 0;
- 74 310 ÷ 2 = 37 155 + 0;
- 37 155 ÷ 2 = 18 577 + 1;
- 18 577 ÷ 2 = 9 288 + 1;
- 9 288 ÷ 2 = 4 644 + 0;
- 4 644 ÷ 2 = 2 322 + 0;
- 2 322 ÷ 2 = 1 161 + 0;
- 1 161 ÷ 2 = 580 + 1;
- 580 ÷ 2 = 290 + 0;
- 290 ÷ 2 = 145 + 0;
- 145 ÷ 2 = 72 + 1;
- 72 ÷ 2 = 36 + 0;
- 36 ÷ 2 = 18 + 0;
- 18 ÷ 2 = 9 + 0;
- 9 ÷ 2 = 4 + 1;
- 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 246 719 254 239(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 246 719 254 239 (base 10) = 1 0010 0010 0100 0110 0100 0010 0001 1110 1101 1111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.