The program calculates Berger tournament tables for any number of participants. Berger tables are widely used in the planning of round-robin tournaments. The brief description: https://en.wikipedia.org/wiki/Round-robin_tournament
To calculate a tournament table for 10 participants:
$ ruby berger-tables.rb 10Running the program without an argument calculates the table for 8 participants.
The MIT License https://opensource.org/licenses/MIT