Compare 31 vs 127
| Property | 31 | 127 |
|---|---|---|
| Type | prime | prime |
| Unique factors | 1 | 1 |
| Total factors | 1 | 1 |
| Prime factorization | 311 | 1271 |
| Prime factorization | 31 | 127 |
| Divisors count | 2 | 2 |
| Divisors | 1, 31 | 1, 127 |
| Number of properties | 18 | 13 |
| Centered decagonal primes | 2nd | |
| Centered triangular primes | 2nd | |
| Chen primes | 11th | 25th |
| Class 1+ primes | 8th | 13th |
| Cousin primes (1st member) | 12th | |
| Cuban primes 1 | 5th | |
| Double mersenne primes | 2nd | |
| Emirps | 3rd | |
| Euclid primes | 4th | |
| Good primes | 13th | |
| Happy primes | 5th | |
| Isolated primes | 12th | |
| Lucky primes | 4th | 10th |
| Mersenne primes | 3rd | 4th |
| Multiplicative primes | 7th | |
| Pierpont primes of the 2nd kind | 8th | 13th |
| Primes | 11th | 31st |
| Right-truncatable primes | 7th | |
| Sexy primes (1st member) | 7th | |
| Sexy prime triplets (1st member) | 5th | |
| Solinas primes | 10th | 22nd |
| Super primes | 5th | 11th |
| Twin primes (2nd member) | 5th | |
| Roman numberals | XXXI | CXXVII |
| Base 2 | 111112 | 11111112 |
| Base 3 | 10113 | 112013 |
| Base 4 | 1334 | 13334 |
| Base 5 | 1115 | 10025 |
| Base 6 | 516 | 3316 |
| Base 7 | 437 | 2417 |
| Base 8 | 378 | 1778 |
| Base 9 | 349 | 1519 |
| Base 10 | 3110 | 12710 |
| Base 11 | 2911 | 10611 |
| Base 12 | 2712 | a712 |
| Base 13 | 2513 | 9a13 |
| Base 14 | 2314 | 9114 |
| Base 15 | 2115 | 8715 |
| Base 16 | 1f16 | 7f16 |