In how many ways to ordered partition an natural number $n$ so none of the parts is greater then $k$? Ordered Partitions $3=2+1$ is NOT equal to $3=1+2$,
Some examples:
Ex1: $n=3,k=2$, this leaves only $3=2+1, 3=1+2$ and $3=1+1+1$
Total Partitions are $1,1,1\color{red}{;}2,1\color{red}{;}1,2\color{red}{;}3$ so we have $4$ total and only $3$ are wanted.
Ex2: $n=4,k=2$ this leaves only $1,1,1,1\color{red}{;}2,1,1\color{red}{;}1,2,1\color{red}{;}1,1,2\color{red}{;}2,2$
total: $1,1,1,1\color{red}{;}2,1,1\color{red}{;}1,2,1\color{red}{;}1,1,2\color{red}{;}2,2\color{red}{;}1,3\color{red}{;}3,1\color{red}{;}4$
Its connected to this Problem: In how many ways can 40 identical carrots be distributed among 8 different rabbits?
There is a "solution". although not useable, at least for me.