The P & W Manufacturing Company makes bubblegum dispensers, and their machines dispense bubblegum balls in pairs (that is, for a nickel, each customer gets two bubblegum balls). The machines are of different sizes and capacities, so the number of bubblegum balls in a given machine is not known. However, it is known that each machine contains an odd number of green bubblegum balls and an odd number of red bubblegum balls.
QUESTION:
Prove by induction that before a dispenser is empty, at least one pair will be dispensed that consists of one green bubblegum ball and one red bubblegum ball.
We prove the following statement by induction on $n$:
Base case: When $n=1$, we have a machine with $1$ red and $1$ green gumball. Obviously, it will dispense a red and green ball when it is used.
Inductive step: Assume that the given statement is true when $n$ is set to $k$. Given a machine with $2(k+1)$ gumballs satisfying the conditions, consider what happens when two gumballs are dispensed. There are three cases...
One gumballs is red and the other is green. In this case, we are done, because what we wanted to prove will happen has happened.
Both gumballs are green. We now are left with a machine with $2k$ gumballs. Furthermore, this machine still has an odd number of red and green gumballs (place more justification here if necessary). Therefore, by the inductive hypothesis, when we use this machine $k$ times, it will at some point dispense one gumball in each color, as desired.
Both gumballs are red. This case is similar to the previous.