The correct option is D when each child should get atleast four books is 5
Let the number of books recieved by children be x1,x2,x3,x4,x5
(i) No restrictions
x1+x2+x3+x4+x5=21
Total ways of distribution without any restriction
=21+5−1C5−1=25C4
(ii) Each child gets atleast one book
x1+x2+x3+x4+x5=21x1,x2,x3,x4,x5≥1
Let X1=x1−1,X2=x2−1,X3=x3−1,X4=x4−1,X5=x5−1
So,
X1+X2+X3+X4+X5=21−5⇒X1+X2+X3+X4+X5=16,X1,X2,X3,X4,X5≥0
Total ways of distribution when each child should get atleast one book
=16+5−1C5−1=20C4
(iii) Each child gets atleast three books
x1+x2+x3+x4+x5=21x1,x2,x3,x4,x5≥3
Let X1=x1−3,X2=x2−3,X3=x3−3,X4=x4−3,X5=x5−3
So,
X1+X2+X3+X4+X5=21−15=6,X1,X2,X3,X4,X5≥0
Number of ways =6+5−1C5−1=10C4
(iv) Each child gets atleast four books
x1+x2+x3+x4+x5=21x1,x2,x3,x4,x5≥4
Let X1=x1−4,X2=x2−4,X3=x3−4,X4=x4−4,X5=x5−4
So,
X1+X2+X3+X4+X5=21−20=1,X1,X2,X3,X4,X5≥0
Number of ways =1+5−1C5−1=5C4=5