Compare 31 vs 34
| Property | 31 | 34 |
|---|---|---|
| Type | prime | semiprime |
| Unique factors | 1 | 2 |
| Total factors | 1 | 2 |
| Prime factorization | 311 | 21 × 171 |
| Prime factorization | 31 | 2 × 17 |
| Divisors count | 2 | 4 |
| Divisors | 1, 31 | 1, 2, 17, 34 |
| Number of properties | 18 | 1 |
| 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 | |
| Semiprimes | 12th | |
| Sexy primes (1st member) | 7th | |
| Sexy prime triplets (1st member) | 5th | |
| Solinas primes | 10th | |
| Super primes | 5th | |
| Twin primes (2nd member) | 5th | |
| Roman numberals | XXXI | XXXIV |
| Base 2 | 111112 | 1000102 |
| Base 3 | 10113 | 10213 |
| Base 4 | 1334 | 2024 |
| Base 5 | 1115 | 1145 |
| Base 6 | 516 | 546 |
| Base 7 | 437 | 467 |
| Base 8 | 378 | 428 |
| Base 9 | 349 | 379 |
| Base 10 | 3110 | 3410 |
| Base 11 | 2911 | 3111 |
| Base 12 | 2712 | 2a12 |
| Base 13 | 2513 | 2813 |
| Base 14 | 2314 | 2614 |
| Base 15 | 2115 | 2415 |
| Base 16 | 1f16 | 2216 |