What would be the formula to calculate the total possible outcome for this scenario:
Given x amount of teams, each team has exactly n amount of players. What are the possible outcomes for groups of size r where you can only have one player of each team.
Example: 4 teams (A-D), 4 players each team, 4 players each grouping.
Possible groupings are:
A1, B1, C1, D1
A1, B3, C1, D2
But not
A1, A3, C2, D2
B3, C2, D4, B1