The total number of ways in which 5 balls of different colours can be distributed among 3 persons so that each person gets atleast one ball is
We have,
Total number of balls =5
Total no. of persons =3
According each person should get at least one ball.
∴The selection of balls can be done by
(2,2,1) or(1,1,3)
i.e,(5C2×3C2×1C1)or(5C1×4C1×3C3)
=(10×3×1)or(5×4×1)
=30or20ways.
Then,
(2,2,1) selection is distributed in 3!2!=3ways.
(1,1,3) selection is distributed in 3!2!=3ways.
Then, the required number of ways
=(30×3)+(20×3)
=90+60
=150
Hence, this is the answer.