Compare 18 vs 31
| Property | 18 | 31 |
|---|---|---|
| Type | composite number | prime |
| Unique factors | 2 | 1 |
| Total factors | 3 | 1 |
| Prime factorization | 21 × 32 | 311 |
| Prime factorization | 2 × 3 × 3 | 31 |
| Divisors count | 6 | 2 |
| Divisors | 1, 2, 3, 6, 9, 18 | 1, 31 |
| Number of properties | 0 | 18 |
| Centered decagonal primes | 2nd | |
| Centered triangular primes | 2nd | |
| Chen primes | 11th | |
| Class 1+ primes | 8th | |
| Emirps | 3rd | |
| Euclid primes | 4th | |
| Happy primes | 5th | |
| Lucky primes | 4th | |
| Mersenne primes | 3rd | |
| Multiplicative primes | 7th | |
| Pierpont primes of the 2nd kind | 8th | |
| Primes | 11th | |
| Right-truncatable primes | 7th | |
| Sexy primes (1st member) | 7th | |
| Sexy prime triplets (1st member) | 5th | |
| Solinas primes | 10th | |
| Super primes | 5th | |
| Twin primes (2nd member) | 5th | |
| Roman numberals | XVIII | XXXI |
| Base 2 | 100102 | 111112 |
| Base 3 | 2003 | 10113 |
| Base 4 | 1024 | 1334 |
| Base 5 | 335 | 1115 |
| Base 6 | 306 | 516 |
| Base 7 | 247 | 437 |
| Base 8 | 228 | 378 |
| Base 9 | 209 | 349 |
| Base 10 | 1810 | 3110 |
| Base 11 | 1711 | 2911 |
| Base 12 | 1612 | 2712 |
| Base 13 | 1513 | 2513 |
| Base 14 | 1414 | 2314 |
| Base 15 | 1315 | 2115 |
| Base 16 | 1216 | 1f16 |