How many different (distinct $x_i$) non-negative integer solutions does the equation $x_1 + x_2 + ...+ x_r = n$ have?
We know that it has $n+r-1 \choose r-1$ non negative solutions. But how many are different?
actually I want to solve this problem... choose 5 card from 13 cards that every cards marked with number 1 to 13 . how many way sum of chosen cards if greater than 40. so i want to know how many distinct solution that equation has. because we have only one card from each one.
then i'm going to calculate this for n= 41 to 55