Compare 1018 vs 1021
| Property | 1018 | 1021 |
|---|---|---|
| Type | semiprime | prime |
| Unique factors | 2 | 1 |
| Total factors | 2 | 1 |
| Prime factorization | 21 × 5091 | 10211 |
| Prime factorization | 2 × 509 | 1021 |
| Divisors count | 4 | 2 |
| Divisors | 1, 2, 509, 1018 | 1, 1021 |
| Number of properties | 1 | 8 |
| Emirps | 38th | |
| Harmonic primes | 61st | |
| Long primes | 62nd | |
| Lucky primes | 45th | |
| Primes | 172nd | |
| Pythagorean primes | 83rd | |
| Semiprimes | 304th | |
| Solinas primes | 46th | |
| Twin primes (2nd member) | 36th | |
| Roman numberals | MXVIII | MXXI |
| Base 2 | 11111110102 | 11111111012 |
| Base 3 | 11012013 | 11012113 |
| Base 4 | 333224 | 333314 |
| Base 5 | 130335 | 130415 |
| Base 6 | 44146 | 44216 |
| Base 7 | 26537 | 26567 |
| Base 8 | 17728 | 17758 |
| Base 9 | 13519 | 13549 |
| Base 10 | 101810 | 102110 |
| Base 11 | 84611 | 84911 |
| Base 12 | 70a12 | 71112 |
| Base 13 | 60413 | 60713 |
| Base 14 | 52a14 | 52d14 |
| Base 15 | 47d15 | 48115 |
| Base 16 | 3fa16 | 3fd16 |