Suppose I start with $N$ teams ($N$ is even) which are randomly paired with each other in the first round. $\frac N2$ teams progress into the next round. I want this process to repeat itself until one team remains. But this is problematic if we have an odd number of teams remaining after a round concludes. My questions:
If the number of teams is odd after a round concludes, how should I adjust the number of teams? Obviously I could just eliminate an extra team, but is there a more efficient way to handle this so I don't have to keep eliminating teams after each round? I suppose I would have to try and get $N$ onto the pathway $(1,2,4,8,16,\dots)$?
Given the pruning approach I adopt, how do I derive the number of rounds in the tournament?