Stars and bars
= Stars and bars
{wiki=Stars_and_bars_(combinatorics)}
The number of nonnegative integer solutions of $x_1+\cdots+x_k=N$ is $\binom{N+k-1}{k-1}$.
= Stars and bars
{wiki=Stars_and_bars_(combinatorics)}
The number of nonnegative integer solutions of $x_1+\cdots+x_k=N$ is $\binom{N+k-1}{k-1}$.