2005 USAMO Problems/Problem 4
Problem
Legs of a square table each have length , where is a positive integer. For how many ordered 4-tuples of nonnegative integers can we cut a piece of length from the end of leg and still have a stable table?
(The table is stable if it can be placed so that all four of the leg ends touch the floor. Note that a cut leg of length 0 is permitted.)
Solutions
Solution 1
Let be the number of sets of cuts that result in the longest leg being of length . Then , and we will evaluate to develop a recursion. Note that if a set of cuts has non-zero cuts, then if that set is counted in , subtract from each of the cuts to obtain a set of cuts that is counted in . For example, if was counted in , then would have been counted in because subtracting the same length from each leg preserves the quality of the legs being coplanar, and there is a bijection.
Now we must evaluate those sets of cuts that don't fall in this bijection, which are clearly those where one leg is completely cut off. After some simple geometric reasoning that I won't include here, we see that one corner has a leg of length of zero, and the opposite leg, called the initial leg, will have length If the remaining legs have length and , then , so options. The initial corner can be any of the four legs, but each of the four permutations of the set of cuts is repeated twice, so we have total additional sets of cuts. We conclude that , and note that . Now we can create generating functions. . Also, . From the recursion, we have This final equation is easy to analyze. Simply use as the first term of a geometric series with constant multiplier of . This gives . The total number of sets of cuts for a table of legs of length is the sum of all the , , from which we deduce the answer , or .