Compare 9 vs 31
| Property | 9 | 31 |
|---|---|---|
| Type | semiprime | prime |
| Unique factors | 1 | 1 |
| Total factors | 2 | 1 |
| Prime factorization | 32 | 311 |
| Prime factorization | 3 × 3 | 31 |
| Divisors count | 3 | 2 |
| Divisors | 1, 3, 9 | 1, 31 |
| Number of properties | 1 | 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 | |
| Semiprimes | 3rd | |
| Sexy primes (1st member) | 7th | |
| Sexy prime triplets (1st member) | 5th | |
| Solinas primes | 10th | |
| Super primes | 5th | |
| Twin primes (2nd member) | 5th | |
| Roman numberals | IX | XXXI |
| Base 2 | 10012 | 111112 |
| Base 3 | 1003 | 10113 |
| Base 4 | 214 | 1334 |
| Base 5 | 145 | 1115 |
| Base 6 | 136 | 516 |
| Base 7 | 127 | 437 |
| Base 8 | 118 | 378 |
| Base 9 | 109 | 349 |
| Base 10 | 910 | 3110 |
| Base 11 | 911 | 2911 |
| Base 12 | 912 | 2712 |
| Base 13 | 913 | 2513 |
| Base 14 | 914 | 2314 |
| Base 15 | 915 | 2115 |
| Base 16 | 916 | 1f16 |