What are the required steps to convert base 10 decimal system
number 29 122 113 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;
- 29 122 113 ÷ 2 = 14 561 056 + 1;
- 14 561 056 ÷ 2 = 7 280 528 + 0;
- 7 280 528 ÷ 2 = 3 640 264 + 0;
- 3 640 264 ÷ 2 = 1 820 132 + 0;
- 1 820 132 ÷ 2 = 910 066 + 0;
- 910 066 ÷ 2 = 455 033 + 0;
- 455 033 ÷ 2 = 227 516 + 1;
- 227 516 ÷ 2 = 113 758 + 0;
- 113 758 ÷ 2 = 56 879 + 0;
- 56 879 ÷ 2 = 28 439 + 1;
- 28 439 ÷ 2 = 14 219 + 1;
- 14 219 ÷ 2 = 7 109 + 1;
- 7 109 ÷ 2 = 3 554 + 1;
- 3 554 ÷ 2 = 1 777 + 0;
- 1 777 ÷ 2 = 888 + 1;
- 888 ÷ 2 = 444 + 0;
- 444 ÷ 2 = 222 + 0;
- 222 ÷ 2 = 111 + 0;
- 111 ÷ 2 = 55 + 1;
- 55 ÷ 2 = 27 + 1;
- 27 ÷ 2 = 13 + 1;
- 13 ÷ 2 = 6 + 1;
- 6 ÷ 2 = 3 + 0;
- 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.
29 122 113(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
29 122 113 (base 10) = 1 1011 1100 0101 1110 0100 0001 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.