31 Octal to Ternary
31 octal = 221 ternary
31 written in ternary is 221, the number 25 in everyday decimal.
31 octal = 221 ternary
How to convert 31 to ternary
Step 1: Octal to decimal
Multiply each digit by 8 to the power of its position (0 on the right), then add:
| Digit | Place value | Digit × place |
|---|---|---|
3 | 81 = 8 | 24 |
1 | 80 = 1 | 1 |
24 + 1 = 25
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) |
|---|---|---|
| 25 ÷ 3 | 8 | 1 |
| 8 ÷ 3 | 2 | 2 |
| 2 ÷ 3 | 0 | 2 |
Result: 25 = 221 in ternary.
31 (octal) in other systems
| Binary | 11001 |
| Decimal | 25 |
| Roman numerals | XXV |
| Hexadecimal | 19 |
| Duodecimal | 21 |
| Base 36 | P |
| Vigesimal | 15 |
| Quaternary | 121 |
| Quinary | 100 |
| Senary | 41 |
Nearby octal to ternary conversions
| 24 to ternary | 202 |
| 25 to ternary | 210 |
| 26 to ternary | 211 |
| 27 to ternary | 212 |
| 30 to ternary | 220 |
| 32 to ternary | 222 |
| 33 to ternary | 1000 |
| 34 to ternary | 1001 |
| 35 to ternary | 1002 |
| 36 to ternary | 1010 |
About the number 25
- 25 is an odd number.
- 25 is not a prime number.
- 25 is a perfect square: 5 × 5.
- Written in binary it needs 5 bits, so it fits in one byte.
Reverse conversion
Frequently asked questions
What is 31 in ternary?
31 in octal is 221 in ternary (the number 25 in decimal).