How to convert Octal to Quinary
The octal numeral system, or oct for short, is the base-8 number system, and uses the digits 0 to 7. Octal is sometimes used in computing instead of hexadecimal, perhaps most often in modern times in conjunction with file permissions under Unix systems. It has the advantage of not requiring any extra symbols as digits. It is also used for digital displays.Quinary is a numeral system with five as the base. A possible origination of a quinary system is that there are five fingers on either hand. In the quinary place system, five numerals, from 0 to 4, are used to represent any real number. According to this method, five is written as 10, twenty-five is written as 100 and sixty is written as 220.
Formula
Follow these steps to convert a octal number into quinary form:
The simplest way is to convert the octal number into decimal, then the decimal into quinary form.
- Write the powers of 8 (1, 8, 64, 512, 4096, and so on) beside the octal digits from bottom to top.
- Multiply each digit by it's power.
- Add up the answers. This is the decimal solution.
- Divide the decimal number by 5.
- Get the integer quotient for the next iteration (if the number will not divide equally by 5, then round down the result to the nearest whole number).
- Keep a note of the remainder, it should be between 0 and 4.
- Repeat the steps from step 4. until the quotient is equal to 0.
- Write out all the remainders, from bottom to top. This is the quinary solution.
Digit | Power | Multiplication |
---|---|---|
4 | 512 | 2048 |
0 | 64 | 0 |
3 | 8 | 24 |
2 | 1 | 2 |
Division | Quotient | Remainder |
---|---|---|
2074 / 5 | 414 | 4 |
414 / 5 | 82 | 4 |
82 / 5 | 16 | 2 |
16 / 5 | 3 | 1 |
3 / 5 | 0 | 3 |