There are couples attending a kingdom's banquet. The husbands sit at one round table, and the wives sit at another round table. The King and Queen (not included among these couples) are to shake hands with them. Suppose the King starts shaking hands from a certain gentleman, and the Queen starts shaking hands from that gentleman's wife. Consider two methods:
(i) The King shakes hands with all the gentlemen in clockwise order. When the King shakes hands with a certain gentleman, the Queen moves clockwise to that gentleman's wife and shakes hands with her. Suppose that by the time the King returns to the original gentleman, the Queen has gone around the table times.
(ii) The Queen shakes hands with all the ladies in clockwise order. When the Queen shakes hands with a certain lady, the King moves clockwise to that lady's husband and shakes hands with him. Suppose that by the time the Queen returns to the original lady, the King has gone around the table times.
Find: the maximum possible value of .
Solution
Answer: If , then the maximum value is ; if , then the maximum value is .
- Estimation: Without loss of generality, assume . Let the starting points of the host gentleman and hostess lady be the reference points of the two tables, numbered clockwise in order, and let the wife of gentleman be numbered . Considering the situations in both methods when the host gentleman and hostess lady pass by , we obtain:
(where )
Let be decreasing sequences with , then we have .
Consider treating as points arranged in order; if , then connect and with a line segment. This diagram will form some chains (each point connects to at most one line on the left and at most one on the right), and the leftmost end of a chain is precisely an satisfying . However, the number of chains is greater than or equal to (for all ), because are not connected to each other, and thus we obtain
Furthermore, we obtain:
If , then .
If , then .
- Construction:
* If , then let be the decreasing sequence formed by the numbers in congruent to modulo . Then in this case , and the number of chains is also (the chain heads being respectively), so in this case .
* If , then let be the decreasing sequence formed by the numbers in congruent to modulo . Then in this case , and the number of chains is (the chain heads being respectively), so in this case .