DECIMAL TO BASE 7 CONVERSION
We apply the following rules to convert a decimal number to base 7.
- We divide the decimal number by 7 repeatedly until the quotient becomes 0.
- Starting at the least significant digit, we write the remainders in the same order of divisions.
For example, to convert decimal 93 to base 7, we divide 93 by 7 repeatedly until the quotient becomes 0.
When we divide 93 by 7, the quotient is 13 and the remainder is 2. Thus, 2 is the least significant digit of the base 7 equivalent.
We continue the algorithm with 13.
When we divide 13 by 7, the quotient is 1 and the remainder is 6. Then 6 is the second least significant digit of the base 7 number.
Finally, we divide 1 by 7. When we do this operation, the quotient is 0 and the remainder is 1. Because the quotient is 0, we stop the procedure.
Then we write the last remainder to the most significant digit of the base 7 number. To sum up, the base 7 representation of 93 is 162.
(93)10 = (162)7
In case, the decimal number is not an integer, we can convert the whole number and fractional parts separately and add up base 7 equivalents.
To convert the fractional part of a decimal number, we apply the following rules.
- We multiply the fractional part by 7 repeatedly until the product becomes an integer or the number of significant digits is sufficient for our calculations.
- At each step, we write the integer part of the rightmost digit to the fractional part of the base 7 number. We continue with the fractional part of the product.
For example, to convert 93.71 to base 7, we multiply the fractional part by 7 repeatedly until we find an integer.
- 0.71 × 7 = 4.97
- 0.97 × 7 = 6.79
- 0.79 × 7 = 5.53
The fractional part of 93.71 is 0.71. When we multiply 0.71 by 7, the result is 4.97. The integer part of
4.97 is 4. Thus we write 4 to the first digit on the RHS of the radix point.
We continue with the fractional part of 4.97. When we multiply 0.97 by 7, the result is 6.79. We write the integer part of
6.79 to the next digit.
The fractional part of 6.79 is 0.79. Therefore, we continue with this number. The product of 0.79 and 7 is equal to 5.53. We write
the integer part to the next digit.
(0.71)10 = (0.465...)7
Base 7 representation of 93.71 is equal to the sum of base 7 representations of 93 and 0.71. Thus, decimal 93.71 is equal to
162.465... in base 7.
(93.71)10 = (93)10 + (0.71)10
= (162)7 + (0.465...)7
WHAT IS DECIMAL TO BASE 7 CONVERTER?
Decimal to base 7 converter,
- Computes the base 7 equivalent of the entered decimal number and
- Describes each step of the conversion for both whole number and fractional parts,
HOW TO USE DECIMAL TO BASE 7 CONVERTER?
You can use decimal to base 7 converter in two ways.
You can enter a decimal number to the input box and click on the "CONVERT" button. The result and
explanations appaer below the calculator
You can click on the DIE ICON next to the input box. If you use this property, a random decimal number is generated and entered to the calculator, automatically.
You can see the result and explanations below the calculator. You can create your own examples and practice using this property.
CLEARING THE INPUT BOX
To check the base 7 equivalent of other decimals you can clear the input box by clicking on the CLEAR button under the input box.
COPYING & DOWNLOADING THE SOLUTION
You can copy the generated solution by clicking on the "Copy Text" link, appaers under the solution panel.
Even you can download the solution as an image file with .jpg extension if you click on the "Download Solution" link at the bottom of the solution panel. You can share the
downloaded image file.