We were asked to find the number of five digit numbers $N=d_1d_2d_3d_4d_5$, where $d_i$ is the $i$th digit of the number and $d_1 < d_2 < d_3 < d_4 < d_5 $. The solution was trivial as for a given selection of five random distinct digits, there is only one way to arrange them in strict increasing order. Now to raise the difficulty level of the question, our teacher changed all the "less than" signs into "less than or equal to" signs, thus yielding the new constraint $d_1 \leq d_2 \leq d_3 \leq d_4 \leq d_5$.
I proceeded as follows .....
Let $x_i = d_{i+1} - d_i$. So, $$ x_1 + x_2 + x_3 + x_4 = d_5 - d_1,$$ or $$d_1 + x_1 + x_2 + x_3 + x_4 = d_5 \leq 9.$$ But $d_1 \geq 1, x_i \geq 0$ for all $i $ belonging to the set ${1,2,3,4} $. So, the problem reduces to find the number of non negative integral solutions of the inequality $$d_1 + x_1 + x _2 + x_3 + x_4 \leq 8,\quad (*)$$ which comes out to be $^{13} C_ {5}$.
But looking at the simplicity of the answer, I am bound to think that there must exist some elegant approach to this problem. In Combinatorics, every one thinks differently, which is why I ask this question. I just want to explore the different ways one can approach a problem. Please note that I am just a beginner in Combinatorics. I am familiar with Permutations and Combinations, but I do not know a single thing in Graph Theory and all those "advanced" concepts. So please answer accordingly.
Here's an essentially equivalent approach that may be what you're looking for. Instead of looking for possible values $d_1,...,d_5\in\{1,...,9\}$ such that $d_1\leq d_2...\leq d_5$, try setting $c_i=d_i+i$ for each $i$. Now $c_1,...,c_5\in\{2,...,14\}$ and $c_1<c_2<...<c_5$, so there are ${}^{13}C_5$ ways to choose the $c_i$. Each of these choices can be converted back to a (different) valid choice for the $d_i$.