There are 3 containers with different color, having 3 balls each with the same color as the container. How to find the no of combinations to pick 3 balls out of these 3 container.
Extending the above problem How to find the no of combinations to pick n balls out of these n container of different color, each having n balls with the same color as the container.
Eg:
Containers : R, G, B
R - have 3 red ball
G - have 3 green ball
B - have 3 blue ball
I have to pick three balls out of this. Possible picks (R,R,R),(R,G,B),(R,R,B).....
(G,B,G) is same as (B,G,G)
and I was able to come up with the count 10 for the above example, I want mathematical formula for the same.
Thanks.