1

What is the number of integer solutions to the problem $$\sum_{i=1}^{i=k}x_i = n$$ subject to $\forall_i\ \ x_i \ge 0 $

note This should hold for both cases $k < n$ and $k \ge n$

1 Answers1

1

This is given by the formula $$CC_k^n = {n+k-1 \choose n}$$

Snufsan
  • 2,125