Counting & ProbabilityMediumCounting: Inclusion–Exclusion & Stars and Bars
Counting: Inclusion–Exclusion & Stars and Bars · Medium problem
How many nonnegative integer solutions does have subject to and ?
How many nonnegative integer solutions does have subject to and ?