What are the required steps to convert base 10 decimal system
number 3 906 404 045 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;
- 3 906 404 045 ÷ 2 = 1 953 202 022 + 1;
- 1 953 202 022 ÷ 2 = 976 601 011 + 0;
- 976 601 011 ÷ 2 = 488 300 505 + 1;
- 488 300 505 ÷ 2 = 244 150 252 + 1;
- 244 150 252 ÷ 2 = 122 075 126 + 0;
- 122 075 126 ÷ 2 = 61 037 563 + 0;
- 61 037 563 ÷ 2 = 30 518 781 + 1;
- 30 518 781 ÷ 2 = 15 259 390 + 1;
- 15 259 390 ÷ 2 = 7 629 695 + 0;
- 7 629 695 ÷ 2 = 3 814 847 + 1;
- 3 814 847 ÷ 2 = 1 907 423 + 1;
- 1 907 423 ÷ 2 = 953 711 + 1;
- 953 711 ÷ 2 = 476 855 + 1;
- 476 855 ÷ 2 = 238 427 + 1;
- 238 427 ÷ 2 = 119 213 + 1;
- 119 213 ÷ 2 = 59 606 + 1;
- 59 606 ÷ 2 = 29 803 + 0;
- 29 803 ÷ 2 = 14 901 + 1;
- 14 901 ÷ 2 = 7 450 + 1;
- 7 450 ÷ 2 = 3 725 + 0;
- 3 725 ÷ 2 = 1 862 + 1;
- 1 862 ÷ 2 = 931 + 0;
- 931 ÷ 2 = 465 + 1;
- 465 ÷ 2 = 232 + 1;
- 232 ÷ 2 = 116 + 0;
- 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.
3 906 404 045(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
3 906 404 045 (base 10) = 1110 1000 1101 0110 1111 1110 1100 1101 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.