Number of ways in which 15 indistinguishable oranges can be distributed in 3 different boxes so that every box R have atmost 8 oranges, are
52
Required ways = (Total possible ways without restriction) - (ways when any box can ≥9 oranges)
Total possible ways are
x+y+z=15 ⇒15+3−1C3−1=17C2
Ways when any box can have 9 oranges x+y+z=15
Either one of x, y, z can have more than 9 oranges
Number of ways are 3C1×6+3−1C3−1=3C1×8C2
Required ways are = 17C2−3C1×8C2=52