The number
when n1 + n2 + ⋯ + nk = n.
This is the coefficient of in the expansion of (x1 + x2 + …xk)n. It also gives the number of ways of choosing ni of each of k types when choosing a total of n objects, without regard to the order in which they are chosen.