What are the required steps to convert base 10 decimal system
number 1 517 123 423 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 517 123 423 ÷ 2 = 758 561 711 + 1;
- 758 561 711 ÷ 2 = 379 280 855 + 1;
- 379 280 855 ÷ 2 = 189 640 427 + 1;
- 189 640 427 ÷ 2 = 94 820 213 + 1;
- 94 820 213 ÷ 2 = 47 410 106 + 1;
- 47 410 106 ÷ 2 = 23 705 053 + 0;
- 23 705 053 ÷ 2 = 11 852 526 + 1;
- 11 852 526 ÷ 2 = 5 926 263 + 0;
- 5 926 263 ÷ 2 = 2 963 131 + 1;
- 2 963 131 ÷ 2 = 1 481 565 + 1;
- 1 481 565 ÷ 2 = 740 782 + 1;
- 740 782 ÷ 2 = 370 391 + 0;
- 370 391 ÷ 2 = 185 195 + 1;
- 185 195 ÷ 2 = 92 597 + 1;
- 92 597 ÷ 2 = 46 298 + 1;
- 46 298 ÷ 2 = 23 149 + 0;
- 23 149 ÷ 2 = 11 574 + 1;
- 11 574 ÷ 2 = 5 787 + 0;
- 5 787 ÷ 2 = 2 893 + 1;
- 2 893 ÷ 2 = 1 446 + 1;
- 1 446 ÷ 2 = 723 + 0;
- 723 ÷ 2 = 361 + 1;
- 361 ÷ 2 = 180 + 1;
- 180 ÷ 2 = 90 + 0;
- 90 ÷ 2 = 45 + 0;
- 45 ÷ 2 = 22 + 1;
- 22 ÷ 2 = 11 + 0;
- 11 ÷ 2 = 5 + 1;
- 5 ÷ 2 = 2 + 1;
- 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 517 123 423(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 517 123 423 (base 10) = 101 1010 0110 1101 0111 0111 0101 1111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.