Re: Math problem
When in doubt, ask a programmer (if you have one handy...) Here's the reply I got:
-----
If you want to do all x*x sized games, then any power of x will support your goal. However, be warned that in a 27-man tournament of 3x3 matchings, you are talking about 9 games apiece (3^n-1).
Scheduling is a bit of a pain but manageable. The way I would do it is to schedule x^n-1 guys for the first round, and then everything sort of falls out of that just by pairing that guy off with the next guy down the list, then 2 down the list, etc.. For 27 guys (a-z and 1) at x=3. You essentially match up randomly in the first round, and then down diagonals for each subsequent round based on the first round.
ABC
DEF
GHI
JKL
MNO
PQR
STU
VWX
YZ1
AEI
DHL
GKO
JNR
MQU
PTX
SW1
VZC
YBF
AHO
DKR
GNU
JQX
MT1
PWC
SZF
VBI
YEL
etc.
|