Compare 30 vs 31
| Property | 30 | 31 |
|---|---|---|
| Type | composite number | prime |
| Unique factors | 3 | 1 |
| Total factors | 3 | 1 |
| Prime factorization | 21 × 31 × 51 | 311 |
| Prime factorization | 2 × 3 × 5 | 31 |
| Divisors count | 8 | 2 |
| Divisors | 1, 2, 3, 5, 6, 10, 15, 30 | 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 | XXX | XXXI |
| Base 2 | 111102 | 111112 |
| Base 3 | 10103 | 10113 |
| Base 4 | 1324 | 1334 |
| Base 5 | 1105 | 1115 |
| Base 6 | 506 | 516 |
| Base 7 | 427 | 437 |
| Base 8 | 368 | 378 |
| Base 9 | 339 | 349 |
| Base 10 | 3010 | 3110 |
| Base 11 | 2811 | 2911 |
| Base 12 | 2612 | 2712 |
| Base 13 | 2413 | 2513 |
| Base 14 | 2214 | 2314 |
| Base 15 | 2015 | 2115 |
| Base 16 | 1e16 | 1f16 |