What are the required steps to convert base 10 decimal system
number 31 290 548 953 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;
- 31 290 548 953 ÷ 2 = 15 645 274 476 + 1;
- 15 645 274 476 ÷ 2 = 7 822 637 238 + 0;
- 7 822 637 238 ÷ 2 = 3 911 318 619 + 0;
- 3 911 318 619 ÷ 2 = 1 955 659 309 + 1;
- 1 955 659 309 ÷ 2 = 977 829 654 + 1;
- 977 829 654 ÷ 2 = 488 914 827 + 0;
- 488 914 827 ÷ 2 = 244 457 413 + 1;
- 244 457 413 ÷ 2 = 122 228 706 + 1;
- 122 228 706 ÷ 2 = 61 114 353 + 0;
- 61 114 353 ÷ 2 = 30 557 176 + 1;
- 30 557 176 ÷ 2 = 15 278 588 + 0;
- 15 278 588 ÷ 2 = 7 639 294 + 0;
- 7 639 294 ÷ 2 = 3 819 647 + 0;
- 3 819 647 ÷ 2 = 1 909 823 + 1;
- 1 909 823 ÷ 2 = 954 911 + 1;
- 954 911 ÷ 2 = 477 455 + 1;
- 477 455 ÷ 2 = 238 727 + 1;
- 238 727 ÷ 2 = 119 363 + 1;
- 119 363 ÷ 2 = 59 681 + 1;
- 59 681 ÷ 2 = 29 840 + 1;
- 29 840 ÷ 2 = 14 920 + 0;
- 14 920 ÷ 2 = 7 460 + 0;
- 7 460 ÷ 2 = 3 730 + 0;
- 3 730 ÷ 2 = 1 865 + 0;
- 1 865 ÷ 2 = 932 + 1;
- 932 ÷ 2 = 466 + 0;
- 466 ÷ 2 = 233 + 0;
- 233 ÷ 2 = 116 + 1;
- 116 ÷ 2 = 58 + 0;
- 58 ÷ 2 = 29 + 0;
- 29 ÷ 2 = 14 + 1;
- 14 ÷ 2 = 7 + 0;
- 7 ÷ 2 = 3 + 1;
- 3 ÷ 2 = 1 + 1;
- 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.
31 290 548 953(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
31 290 548 953 (base 10) = 111 0100 1001 0000 1111 1110 0010 1101 1001 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.