Quote:
Originally Posted by jay_shark
This is equivalent to the number of nonnegative integer valued vectors (x1,x2,x3,...xr) satisfying x1 +x2+x3+...+xr = n
which is just (n+r -1)C(r-1). I'll prove it shortly.
So we just plug in r=3 and n=80 to give us 3321 which agrees with Jean's result.
|
Yeah, thanks for the general formula. It's much better than my messy summation

You're making me feel a bit ashamed of myself, as the combinatorial bijection is very simple (and cute) ...