I've this very difficult problem which I can't solve so I really need your help. I don't know if this will be a clear explanation because I'm Dutch but I'll try..

I have this tournament which is devided into several poules. Each poule has a user given number of teams (ex: Poule 1: 4 teams, Poule 2: 7 teams, Poule 3: 6 teams). Each poule plays a half competition, which means that they play against eachother 1 time. In a poule of 4 teams this would mean the following:

Round 1 Round 2 Round 3
Team 1 - Team 2 Team 1 - Team 3 Team 1 - Team 4
Team 3 - Team 4 Team 2 - Team 4 Team 2 - Team 3

I can set this up for a poule with 4 teams, but with 5 and higher I can't. I don't see the logics and I don't feel like putting all schematics in and not find any formula.