Let $\mathbb{N}_+ = \{ 1, 2, \dots\} $. For a given sequence of elements $\{a_i \}_{1 \leq i \leq m} $in $ \mathbb{N}_+ $, we define
\begin{equation} P(d) = \sum_{\sum_{i=1}^m k_i = d, k_i \in \mathbb{N}_+} \left( \prod_{i=1}^m k_i^{a_i} \right). \end{equation}
I know that $ P(d)$ is a polynomial in $d$, and that $\deg(P(d) ) = \sum_{i=1}^m a_i + m - 1 $, but I would like to know if there is a more explicit expression for it.
At the very least, I suspect that the leading coefficient should be computable, but I have not found relevant formulas, as I am unsure about the terminology for this type of sum.