Distribute 15 candies among Ram(R)+Shyam(S)+Ghanshyam(G)+Balram(B) with condition given:
R+S+G+B=15 and R≤15,S≥2
After giving 2 to Shyam, remaining candies =15−2=13
Now distribute 13 candies in R,S,G,B in (13+4−1)!(13)!3!=16C3 ways
In 16C3 ways, we have to remove undesirable ways: R>S⇒R≥6
Give at least 6 to R and 2 to S and distribute remaining between R,S,G,B in (7+4−1)!(7)!(4−1)!=10C3 ways.
10C3 are undesirable cases.
∴ desired way =16C3−10C3=440