For given positive integers r,v,n let S(r,v,n) denote the number of n-tuples of non-negative integers (x1,⋯,xn) satisfying the equation x1+⋯+xn=r and such that xi≤v for i=1,⋯,n. Prove that
S(r,v,n)=k=0∑m(−1)k(kn)(n−1r−(v+1)k+n−1)
Where m={n,[v+1r]}. number theory proposednumber theory