4 identical hats are distributed among 4 boys such that any boy can get any number of hats. What is the probability that no boys gets more than 2 hats.
13/35
Total ways to distribute the bags is = Number of solutions of the equation
a+b+c+d=4
or, (4+4−1)C(4−1)=7C3=35
When maximum 2 hats can be distributed
Following cases is possible: 2,1,1,0=4C1 X 3C1=12
or, 1,1,1,1=1 way.
P(E)=1335