Lets say we had a $k,m,n \in \mathbb{N}$ where $k < m \le n$. How many different sets $X_1,..,X_m$ with $|X_i|=k$ for $i=1,..,m$, where the sets do not include duplicates, for which the sum of their elements is equal to n?
$$n = X_{sum}^i := \sum_{j=1}^k x_j^i, \; x_j^i \in X_i$$
It holds, that all elements $x_j^i \le m$ and for each pair $|X_i \cap X_j| < k$, where $i=1,..,m$ and $j=1,..,m$ but $i\neq j$.
As example, we take $k=3$, $n=15$ and show all possibilities for m:
m = 6 : 6+5+4 (1)
m = 7 : 7+5+3, 7+6+2 (2)
m = 8 : 8+4+3, 8+5+2, 8+6+1 (3)
m = 9 : 9+4+2, 9+5+1 (2)
m = 10: 10+3+2, 10+4+1 (2)
m = 11: 11+3+1 (1)
m = 12: 12+2+1 (1)
Is there a general formula to calculate this values for $n,k,m$ or at least for $k=3$?
Finally my goal was if $C_{n,k,m}$ is the count of the values, the calculation of
$$C_{n,k} = \sum_{i=1}^n (C_{n,k,i} - 1).$$
I found out a formula for $C_{n,2}$ which was:
$$C_{n,2} = {n - 2 \choose 2},$$
but I was not able to generalize it for k, since it does not hold, that
$$C_{n,k} = {n - 2 \choose k},$$
for all k.