Compare 31 vs 54
| Property | 31 | 54 |
|---|---|---|
| Type | prime | composite number |
| Unique factors | 1 | 2 |
| Total factors | 1 | 4 |
| Prime factorization | 311 | 21 × 33 |
| Prime factorization | 31 | 2 × 3 × 3 × 3 |
| Divisors count | 2 | 8 |
| Divisors | 1, 31 | 1, 2, 3, 6, 9, 18, 27, 54 |
| Number of properties | 18 | 0 |
| 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 | XXXI | LIV |
| Base 2 | 111112 | 1101102 |
| Base 3 | 10113 | 20003 |
| Base 4 | 1334 | 3124 |
| Base 5 | 1115 | 2045 |
| Base 6 | 516 | 1306 |
| Base 7 | 437 | 1057 |
| Base 8 | 378 | 668 |
| Base 9 | 349 | 609 |
| Base 10 | 3110 | 5410 |
| Base 11 | 2911 | 4a11 |
| Base 12 | 2712 | 4612 |
| Base 13 | 2513 | 4213 |
| Base 14 | 2314 | 3c14 |
| Base 15 | 2115 | 3915 |
| Base 16 | 1f16 | 3616 |