Find a formula for the number of solutions to $$ x_1 + x_2 + x_3 + \ldots + x_k = n $$ where $n \ge 0$ and the the $x_i$ are non-negative integers. For instance, if $n > 0$ then there is exactly one solution to $x_1 = n$. There are $n + 1$ solutions to $x_1 + x_2 = n$. How many solutions to the equation $x_1 + x_2 + x_3 = n$ are there when $k = 3$? Make a table of values for various $n$ and $k$ and generalize your answer for $k > 3$.
I'm not sure how to start on this question but it's somehow related to n!