Compare 8 vs 31
| Property | 8 | 31 |
|---|---|---|
| Type | composite number | prime |
| Unique factors | 1 | 1 |
| Total factors | 3 | 1 |
| Prime factorization | 23 | 311 |
| Prime factorization | 2 × 2 × 2 | 31 |
| Divisors count | 4 | 2 |
| Divisors | 1, 2, 4, 8 | 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 | VIII | XXXI |
| Base 2 | 10002 | 111112 |
| Base 3 | 223 | 10113 |
| Base 4 | 204 | 1334 |
| Base 5 | 135 | 1115 |
| Base 6 | 126 | 516 |
| Base 7 | 117 | 437 |
| Base 8 | 108 | 378 |
| Base 9 | 89 | 349 |
| Base 10 | 810 | 3110 |
| Base 11 | 811 | 2911 |
| Base 12 | 812 | 2712 |
| Base 13 | 813 | 2513 |
| Base 14 | 814 | 2314 |
| Base 15 | 815 | 2115 |
| Base 16 | 816 | 1f16 |