I'm currently studying a book by Paul Zeitz and currently stuck on exercise 6.2.23, below is the problem:
Find a formula for the number of different ordered triples $(a,b,c)$ of positive integers that satisfy $$a+b+c=n$$
For my first attempt I first started by looking at some values for $n$ like $n=50$ which by using 'Stars and Bars Technique' gets you to the solution $\binom{52}{2}$. I am wondering if the same technique could be applied to the question above so that I can obtain a formula for it.
Apologies if I am missing something elementary here.