The formula to calculate in how many ways can $k$ numbers have sum $n$ is $\binom{n+k-1}{n}$, but the only limit on summands is $n$, infact, in case of (for example) $k = 3$ and $n = 6$ the formula considers also $\{600\}$, $\{060\}$ $\{006\}$. If I want to impose a limit $L < n$ on summands there is a way to restrict $\binom{n+k-1}{n}$ in order to consider the limit or some other formula?
Thanks for the answers.