## How to convert Hex to Quinary

Hexadecimal is a positional system that represents numbers using a base of 16. Unlike the common way of representing numbers with ten symbols, it uses sixteen distinct symbols, most often the symbols "0"-"9" to represent values zero to nine, and "A"-"F" to represent values ten to fifteen. Hexadecimal numerals are widely used by computer system designers and programmers, as they provide a human-friendly representation of binary-coded values.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.

__Follow these steps to convert a hexadecimal number into quinary form:__

The simplest way is to convert the hexadecimal number into decimal, then the decimal into quinary form.

- Write the powers of 16 (1, 16, 256, 4096, 65536, and so on) beside the hex digits from bottom to top.
- Convert any letters (A to F) to their corresponding numerical form.
- 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 5. until the quotient is equal to 0.
- Write out all the remainders, from bottom to top. This is the quinary solution.

Digit | Power | Multiplication |
---|---|---|

A (10) | 256 | 2560 |

0 | 16 | 0 |

E (14) | 1 | 14 |

Division | Quotient | Remainder |
---|---|---|

2574 / 5 | 514 | 4 |

514 / 5 | 102 | 4 |

102 / 5 | 20 | 2 |

20 / 5 | 4 | 0 |

4 / 5 | 0 | 4 |