This content is licensed under Creative Commons Attribution/Share-Alike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/2355/. Also, please do not modify any references to the original work (if any) contained in this content.
Suppose you are taking part in kart racing. There are several karts/starting positions, f.e. 8, and number of racers, f.e. 30.
Each racer should eventually try out each kart/starting position. The question is to make it in random order, so none would wait too long for his next lap and compete with different racers each time.
The generator below creates racing laps tables. First table shows racers for each lap, in order of karts. Second table shows each racer's schedule - laps where racer participates and kart which racer drives during this lap.