31 Quaternary to Ternary
31 quaternary = 111 ternary
31 written in ternary is 111, the number 13 in everyday decimal.
31 quaternary = 111 ternary
How to convert 31 to ternary
Step 1: Quaternary to decimal
Multiply each digit by 4 to the power of its position (0 on the right), then add:
| Digit | Place value | Digit × place |
|---|---|---|
3 | 41 = 4 | 12 |
1 | 40 = 1 | 1 |
12 + 1 = 13
Step 2: Decimal to ternary
Divide by 3 repeatedly and keep the remainders. Reading the remainders from the last one to the first gives the ternary digits:
| Division | Quotient | Remainder (digit) |
|---|---|---|
| 13 ÷ 3 | 4 | 1 |
| 4 ÷ 3 | 1 | 1 |
| 1 ÷ 3 | 0 | 1 |
Result: 13 = 111 in ternary.
31 (quaternary) in other systems
| Binary | 1101 |
| Decimal | 13 |
| Roman numerals | XIII |
| Hexadecimal | D |
| Octal | 15 |
| Duodecimal | 11 |
| Base 36 | D |
| Vigesimal | D |
| Quinary | 23 |
| Senary | 21 |
Nearby quaternary to ternary conversions
| 20 to ternary | 22 |
| 21 to ternary | 100 |
| 22 to ternary | 101 |
| 23 to ternary | 102 |
| 30 to ternary | 110 |
| 32 to ternary | 112 |
| 33 to ternary | 120 |
| 100 to ternary | 121 |
| 101 to ternary | 122 |
| 102 to ternary | 200 |
About the number 13
- 13 is an odd number.
- 13 is a prime number.
- Written in binary it needs 4 bits, so it fits in one byte.
Reverse conversion
Frequently asked questions
What is 31 in ternary?
31 in quaternary is 111 in ternary (the number 13 in decimal).