I am working on a game where there is always 4 opponents. Each opponent is one of 4 classes and there is always 1 of each class. I want to know how many permutations are possible given an equal distribution of units per class.
For example. If I had 120 enemies and I wanted to do any random factorial it would be 120 choose 4. But since I want to have a combination of classes evenly, it would be "1 choose 30 x 4."
Do you know how I can calculate the total permutations in this scenario?
Thank you.
If there are $30$ enemies of each kind and you choose one of each there are $30^4$ combinations. If there is an order to them, say the five of you are in a circle, multiply by $4!$ for the order of the four.