I have a function that I am trying to formally describe, that works as follows:
$$T_0(n)=1 \\ T_1(n)=n \\ T_2(n)=\sum_{i =1}^n i \\ T_3(n)=\sum_{j=1}^n \sum_{i=1}^j i \\ T_4(n)=\sum_{k=1}^n \sum_{j=1}^k \sum_{i=1}^j i $$ and so on.
I'm looking to generalize it to the form $T_k(n)$, where all $k$ are natural numbers zero-inclusive and all $n$ are natural numbers zero exclusive. How would I define this function using formal notation?
Furthermore, these types of functions are of some interest to me, specifically regarding applications in evaluating higher-dimensional space, could you point me towards the name of this type of function and subjects like it?
Update
So it seems I may have accidentally discovered combinations. Thanks 10th-grade stats. However, I still do wonder if there is a formal way to describe repeated successive applications of functions and operators, like the summation. Full points for anyone who answers $n+k-1$ choose $k$, but for future use I'd really like to see how you'd notate repeat application like this. I understand you could define it recursively, are there any other options?
To answer the first question, define them recursively: $T_0(n)=1$, and
$$T_{k+1}(n)=\sum_{i=1}^nT_k(i)$$
for each $k\in\Bbb N$. However, they can also be defined explicitly: it turns out that $T_k(n)=\binom{n+k-1}k$. This is easily verified by induction, using the recursive definition of the functions.