What are the required steps to convert base 10 decimal system
number 9 592 592 421 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;
- 9 592 592 421 ÷ 2 = 4 796 296 210 + 1;
- 4 796 296 210 ÷ 2 = 2 398 148 105 + 0;
- 2 398 148 105 ÷ 2 = 1 199 074 052 + 1;
- 1 199 074 052 ÷ 2 = 599 537 026 + 0;
- 599 537 026 ÷ 2 = 299 768 513 + 0;
- 299 768 513 ÷ 2 = 149 884 256 + 1;
- 149 884 256 ÷ 2 = 74 942 128 + 0;
- 74 942 128 ÷ 2 = 37 471 064 + 0;
- 37 471 064 ÷ 2 = 18 735 532 + 0;
- 18 735 532 ÷ 2 = 9 367 766 + 0;
- 9 367 766 ÷ 2 = 4 683 883 + 0;
- 4 683 883 ÷ 2 = 2 341 941 + 1;
- 2 341 941 ÷ 2 = 1 170 970 + 1;
- 1 170 970 ÷ 2 = 585 485 + 0;
- 585 485 ÷ 2 = 292 742 + 1;
- 292 742 ÷ 2 = 146 371 + 0;
- 146 371 ÷ 2 = 73 185 + 1;
- 73 185 ÷ 2 = 36 592 + 1;
- 36 592 ÷ 2 = 18 296 + 0;
- 18 296 ÷ 2 = 9 148 + 0;
- 9 148 ÷ 2 = 4 574 + 0;
- 4 574 ÷ 2 = 2 287 + 0;
- 2 287 ÷ 2 = 1 143 + 1;
- 1 143 ÷ 2 = 571 + 1;
- 571 ÷ 2 = 285 + 1;
- 285 ÷ 2 = 142 + 1;
- 142 ÷ 2 = 71 + 0;
- 71 ÷ 2 = 35 + 1;
- 35 ÷ 2 = 17 + 1;
- 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.
9 592 592 421(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
9 592 592 421 (base 10) = 10 0011 1011 1100 0011 0101 1000 0010 0101 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.