The number of ways of getting a sum 16 on throwing a dice four times is .
Answer
125
Solution
Ways = coefficient of x16 in (x + x2 + + x6)4 = x4(1 - x6)4(1 - x)-4
= coefficient of x12 in (1 - 4x6 + 6x12 - )(1 - x)-4
coefficient of xr in (1 - x)-4 is r+3C3
= 15C3 - 4 9C3 + 6 3C3 = 455 - 336 + 6 = 125
Answer: 125