:
Rewrite the counting problem:By definition,f(n)=∑z=1n(z+k−1k)(z+m−1m).f(n) = \sum_{z=1}^n \binom{z+k-1}{k}\binom{z+m-1}{m}.f(n)=z=1∑n(kz+k−1)(mz+m−1).Here, (kz+k−1) counts the number of weakly increasing sequences (x1,…,xk) of length k from 1,…,z, and (mz+m−1) similarly counts weakly increasing sequences (y1,…,ym) from {1,\ldots,<REDACTED> over zfrom1tongivesthetotalnumberofsequences(x_1,\ldots,x_k,y_1,\ldots,y_m,z)$ with the given constraints.
Expressing the terms as polynomials:Each binomial coefficient(z+k−1k)\binom{z+k-1}{k}(kz+k−1)can be written as a polynomial in z of degree k:(z+k−1k)=(z)(z+1)(z+2)⋯(z+k−1)k!.\binom{z+k-1}{k} = \frac{(z)(z+1)(z+2)\cdots(z+k-1)}{k!}.(kz+k−1)=k!(z)(z+1)(z+2)⋯(z+k−1).This is known as arising factorial. When expanded, it is a polynomial in z withpositive coefficients. Similarly,(z+m−1m)\binom{z+m-1}{m}(mz+m−1)is a polynomial in z of degree m, also with positive coefficients.Thus, the product(z+k−1k)(z+m−1m)\binom{z+k-1}{k}\binom{z+m-1}{m}(kz+k−1)(mz+m−1)is a polynomial in of degree withnonnegative (in fact, strictly positive) coefficients.
Summation over z:We havef(n)=∑z=1n(z+k−1k)(z+m−1m)=∑z=1nP(z)f(n) = \sum_{z=1}^n \binom{z+k-1}{k}\binom{z+m-1}{m} = \sum_{z=1}^n P(z)f(n)=z=1∑n(kz+k−1)(mz+m−1)=z=1∑nP(z)where P(z) is a polynomial in z of degree k+m with positive coefficients.To show is a polynomial in with nonnegative coefficients, it suffices to find a suitable polynomial basis that makes the summation easy and ensures positivity.
Changing to a binomial coefficient basis:Every polynomial P(z) can be expressed in terms of the binomial coefficient polynomials(zi)\binom{z}{i}(iz):P(z)=∑i=0k+mai(zi),P(z) = \sum_{i=0}^{k+m} a_i \binom{z}{i},P(z)=i=0∑k+mai(iz),for some nonnegative coefficients ai. (This is possible because P(z) has positive coefficients and the transformation from powers of to the binomial basis(zi)\binom{z}{i}(iz)involves Stirling numbers of the second kind, which are positive.)Thus,f(n)=∑z=1nP(z)=∑z=1n∑i=0k+mai(zi).f(n) = \sum_{z=1}^n P(z) = \sum_{i=0}^{k+m} a_i \binom{z}{i}.f(n)=z=1∑nP(z)=z=1∑ni=0∑k+mai(iz).
Applying the hockey-stick identity:The hockey-stick identity states that∑z=in(zi)=(n+1i+1).\sum_{z=i}^n \binom{z}{i} = \binom{n+1}{i+1}.z=i∑n(iz)=(i+1n+1).For z<i, (iz)=0, so we can start each sum from . Hence,∑z=1n(zi)=(n+1i+1).\sum_{z=1}^n \binom{z}{i} = \binom{n+1}{i+1}.z=1∑n(iz)=(i+1n+1).Substituting this back:f(n)=∑i=0k+mai∑z=1n(zi)=∑i=0k+mai(n+1i+1).f(n) = \sum_{i=0}^{k+m} a_i \sum_{z=1}^n \binom{z}{i} = \sum_{i=0}^{k+m} a_i \binom{n+1}{i+1}.f(n)=i=0∑k+maiz=1∑n(iz)=i=0∑k+mai(i+1n+1).
Result:We have expressed f(n) as a linear combination of binomial coefficients in n:f(n)=∑i=0k+mai(n+1i+1).f(n) = \sum_{i=0}^{k+m} a_i \binom{n+1}{i+1}.f(n)=i=0∑k+mai(i+1n+1).Each (i+1n+1 is a polynomial in with positive integer coefficients. Since , the resulting polynomial is a polynomial in withnonnegative coefficients.
Rewrite the counting problem:By definition,
Here, (kz+k−1) counts the number of weakly increasing sequences (x of length from , and similarly counts weakly increasing sequences from zn(x_1,\ldots,x_k,y_1,\ldots,y_m,z)$ with the given constraints.
Expressing the terms as polynomials:Each binomial coefficient(z+k−1k)\binom{z+k-1}{k}(kz+k−1)can be written as a polynomial in z of degree k:
This is known as arising factorial. When expanded, it is a polynomial in z withpositive coefficients. Similarly,(z+m−1m)\binom{z+m-1}{m}(mz+m−1)is a polynomial in z of degree m, also with positive coefficients.
Thus, the product(z+k−1k)(z+m−1m)\binom{z+k-1}{k}\binom{z+m-1}{m}(kz+k−1)(mz+m−1)is a polynomial in z of degree k+m withnonnegative (in fact, strictly positive) coefficients.
Summation over z:We have
where P(z) is a polynomial in z of degree k+m with positive coefficients.
To show f(n) is a polynomial in n with nonnegative coefficients, it suffices to find a suitable polynomial basis that makes the summation easy and ensures positivity.
Changing to a binomial coefficient basis:Every polynomial P(z) can be expressed in terms of the binomial coefficient polynomials(zi)\binom{z}{i}(iz):
for some nonnegative coefficients ai. (This is possible because P(z) has positive coefficients and the transformation from powers of z to the binomial basis(zi)\binom{z}{i}(iz)involves Stirling numbers of the second kind, which are positive.)
Thus,
Applying the hockey-stick identity:The hockey-stick identity states that
For z<i, (iz)=0, so we can start each sum from . Hence,
Substituting this back:
Result:We have expressed f(n) as a linear combination of binomial coefficients in n:
Each (i+1n+1) is a polynomial in n with positive integer coefficients. Since a, the resulting polynomial is a polynomial in withnonnegative coefficients.
Conclusion:
We started with a combinatorial definition of f(n). By expressing the summand as a polynomial in z with positive coefficients and then switching to a binomial coefficient basis, we applied the hockey-stick identity to sum over z. This resulted in an expression of f(n) as a positive linear combination of binomial coefficients in n, thereby showing that is indeed a polynomial in with nonnegative coefficients.