Hy nr75.

There is a distribution in probability known as the multinomial distribution and if you set n = 3, then you can get the probability of getting so many A1's, so many A2's and so many A3's.

Multinomial distribution - Wikipedia, the free encyclopedia