Problem 4
Let be a fixed positive odd integer. Take distinct points in the coordinate plane such that: (1) , , and for , both coordinates of are integers between and inclusive; (2) for , segment is parallel to the -axis if is even and to the -axis if is odd; (3) for , segments and share at most one point. Determine the maximum possible value of .
Step 3 of 5: Initial odd case
Detailed analysis
The sequence has six turning points, so , and it satisfies all conditions.