Number of ways to partition a sum with a restriction

227 Views Asked by At

I want to find the number of ways to express a given integer N as a sum of M integers with each term of the sum restricted to being smaller or equal than a given integer k. Is there a closed expression for this? I can express it as an integral of a generating function but cannot find a closed expression.