I know that we can distribute $n$ chocolates among $k$ children in ${n+k-1 \choose k-1}$ ways which is the stars and bars problem. But what if the chocolates should be given in increasing order? I mean the 1st boy gets less chocolates than the second boy and so on.
If $a_1+a_2+a_3+\cdots+a_k=n$, then in how many ways can we distribute $n$ such that $a_1<a_2<a_3<\cdots<a_k$?
If such a numerical problem is given, we can reduce $n$ to a smaller number and build various cases to solve it. But is there some generalized method to solve this kind of problems?