The problem is equivalent to finding the number of solutions of equation
$a_1 + a_2 + a_3 + ... + a_m = n$ where $a_i >= 0$ for all i.
Assumes $f(n,k) = { n+k-1 \choose k-1 }$ and $f(n-1,k+1) = { n+k-1 \choose k }$ by induction hypothesis.
Let's consider $f(n,k+1)$. Each grouping will be corresponding to a solution of the equation:
$b_1 + b_2 + b_3 + ... + b_{k+1} = n$ where $b_i >= 1$ for all i
Case 1. if $b_1$ is 0, then $b_2, b_3, ... b_{k+1}$ is a solution of equation
$c_1 + c_2 + ... + c_k = n$.
The number of solution is $f(n,k) = { n+k-1 \choose k-1 }$.
Case 2. if $b_1$ is at least 1, then $(b_1-1), b_2, b_3, ..., b_{k+1}$ is a solution of equation
$c_1 + c_2 + ... + c_{k+1} = n - 1$.
The number of solution is $f(n-1,k+1) = { n+k-1 \choose k }$
The sum is ${ n+k-1 \choose k } + { n+k-1 \choose k-1 } = { n+k \choose k }$ (pascal triangle identity) which shows $f(n,k+1)$ also has the same formula.
In addition, in order for the induction to work, the base case needs to be all $f(n,1)$ for all n and $f(0,n)$ for all n. (I believe they are trivial enough). For example, $f(1,2)$ can be inducted from $f(1,1)$ and $f(0,2)$ which are base cases. $f(1,3)$ can be inducted from $f(1,2)$ and $f(0,3)$. $f(2,2)$ can be inducted from $f(1,2)$ and $f(2,1)$ .etc.