Let $\alpha \models 2n$ be a composition of length $k$, i.e. it is an integer sequence $\alpha = (\alpha_1, \alpha_2, … , \alpha_k)$ such that $\alpha_1 + \alpha_2 + … + \alpha_k = 2n$.
I want to count the number of compositions $\beta \models n$ of length $k$ such that $0 \leq \beta_i \leq \alpha_i$. Is there a way to do that?