n-th numbers
Why only prime numbers? Let’s extend the definition!
$a \in \mathbb{N}$ is an $n$-th number $\iff$ $a$ has $n+1$ divisors
Recall that, given $\{p_i\}$ the sequence of prime numbers (i.e. $\{2, 3, 5, \dots\}$), for every natural $a > 0$ there is a unique sequence $\{\alpha_i\}$ s.t. $a = \prod_i p_i^{\alpha_i}$, the $a$ factorization.
Then $a > 0$ has $n$ divisors $\iff$ $n = \prod_i (\alpha_i + 1)$
for there are $\alpha_i + 1$ independent choices of the exponents $0 \le \delta_i \le \alpha_i$ of each divisor $d = \prod_i p_i^{\delta_i}$ of $a$.
DPD-'s notes