In how many ways 3 friends Ram, Rajat and Rupesh having 6 one rupee coins, 7 one rupee coins, 8 one rupee coins respectively donate 10 rupee coin collectively?
47
Number of ways they can donate Rs. 10 is
x1+x2+x3=10.....(1)
Total ways are = 10+3−1C3−1=66
now
x1≤6,x2≤7 and x3≤8
So from equation (1) subtracting the following cases
case 1
x1>6
case 2
x2>7
case 3
x3>8
now
when x1>6
then
x1+x2+x3=3
so total ways are = 3+3−1C3−1=10
when x2>7
then
x1+x2+x3=2
so total ways are = 2+3−1C3−1=6
when x3>8
then
x1+x2+x3=1
so total ways are = 1+3−1C3−1=3
required ways are 66−10−6−3=47