Compare 31 vs 331
| Property | 31 | 331 |
|---|---|---|
| Type | prime | prime |
| Unique factors | 1 | 1 |
| Total factors | 1 | 1 |
| Prime factorization | 311 | 3311 |
| Prime factorization | 31 | 331 |
| Divisors count | 2 | 2 |
| Divisors | 1, 31 | 1, 331 |
| Number of properties | 18 | 10 |
| Additive primes | 39th | |
| Centered decagonal primes | 2nd | |
| Centered triangular primes | 2nd | |
| Chen primes | 11th | |
| Class 1+ primes | 8th | |
| Cuban primes 1 | 7th | |
| Emirps | 3rd | |
| Euclid primes | 4th | |
| Good primes | 24th | |
| Happy primes | 5th | 17th |
| Harmonic primes | 28th | |
| Isolated primes | 28th | |
| Lucky primes | 4th | 19th |
| Mersenne primes | 3rd | |
| Multiplicative primes | 7th | |
| Pierpont primes of the 2nd kind | 8th | |
| Primes | 11th | 67th |
| Right-truncatable primes | 7th | |
| Sexy primes (1st member) | 7th | 37th |
| Sexy prime triplets (1st member) | 5th | |
| Solinas primes | 10th | |
| Super primes | 5th | 19th |
| Twin primes (2nd member) | 5th | |
| Roman numberals | XXXI | CCCXXXI |
| Base 2 | 111112 | 1010010112 |
| Base 3 | 10113 | 1100213 |
| Base 4 | 1334 | 110234 |
| Base 5 | 1115 | 23115 |
| Base 6 | 516 | 13116 |
| Base 7 | 437 | 6527 |
| Base 8 | 378 | 5138 |
| Base 9 | 349 | 4079 |
| Base 10 | 3110 | 33110 |
| Base 11 | 2911 | 28111 |
| Base 12 | 2712 | 23712 |
| Base 13 | 2513 | 1c613 |
| Base 14 | 2314 | 19914 |
| Base 15 | 2115 | 17115 |
| Base 16 | 1f16 | 14b16 |