[guided]A monomial in $k[x_1,\dots,x_n]$ is determined by an exponent vector
\begin{align*}
\alpha = (\alpha_1,\dots,\alpha_n) \in \mathbb{Z}_{\ge 0}^n,
\end{align*}
and the monomial has total degree $d$ precisely when
\begin{align*}
\alpha_1 + \cdots + \alpha_n = d.
\end{align*}
We therefore define
\begin{align*}
M_d := \left\{\alpha = (\alpha_1,\dots,\alpha_n) \in \mathbb{Z}_{\ge 0}^n : \alpha_1 + \cdots + \alpha_n = d\right\}.
\end{align*}
The symmetric group permutes variables, so only the multiset of exponents matters for an orbit. To record that multiset in a standard way, take an exponent vector $\alpha \in M_d$, remove its zero entries, and arrange the remaining entries in weakly decreasing order. Call the resulting sequence $\lambda(\alpha)$. Its entries are positive integers, weakly decreasing, and sum to $d$, so $\lambda(\alpha)$ is a partition of $d$. Since $\alpha$ has only $n$ entries, the number of nonzero entries is at most $n$, hence $\ell(\lambda(\alpha)) \le n$.
Conversely, suppose $\lambda = (\lambda_1,\dots,\lambda_r)$ is a partition of $d$ with $r \le n$. Padding $\lambda$ by zeros gives the exponent vector
\begin{align*}
(\lambda_1,\dots,\lambda_r,0,\dots,0) \in \mathbb{Z}_{\ge 0}^n.
\end{align*}
Its total degree is
\begin{align*}
\lambda_1 + \cdots + \lambda_r = d,
\end{align*}
so it lies in $M_d$, and deleting zeros and sorting positive entries recovers $\lambda$. Thus every partition of $d$ with at most $n$ parts occurs as the exponent type of some degree $d$ monomial, and no other exponent types occur.[/guided]