31 Decimal to Ternary
31 decimal = 1011 ternary
31 written in ternary is 1011.
31 decimal = 1011 ternary
How to convert 31 to ternary
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) |
|---|---|---|
| 31 ÷ 3 | 10 | 1 |
| 10 ÷ 3 | 3 | 1 |
| 3 ÷ 3 | 1 | 0 |
| 1 ÷ 3 | 0 | 1 |
Result: 31 = 1011 in ternary.
31 (decimal) in other systems
| Binary | 11111 |
| Roman numerals | XXXI |
| Hexadecimal | 1F |
| Octal | 37 |
| Duodecimal | 27 |
| Base 36 | V |
| Vigesimal | 1B |
| Quaternary | 133 |
| Quinary | 111 |
| Senary | 51 |
Nearby decimal to ternary conversions
| 26 to ternary | 222 |
| 27 to ternary | 1000 |
| 28 to ternary | 1001 |
| 29 to ternary | 1002 |
| 30 to ternary | 1010 |
| 32 to ternary | 1012 |
| 33 to ternary | 1020 |
| 34 to ternary | 1021 |
| 35 to ternary | 1022 |
| 36 to ternary | 1100 |
About the number 31
- 31 is an odd number.
- 31 is a prime number.
- 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 decimal is 1011 in ternary.