Basic Rectangles
Source: AIME II 2007 #8
March 29, 2007
geometryrectanglecalculusintegrationderivativequadraticsmodular arithmetic
Problem Statement
A rectangular piece of of paper measures 4 units by 5 units. Several lines are drawn parallel to the edges of the paper. A rectangle determined by the intersections of some of these lines is called basic if
(i) all four sides of the rectangle are segments of drawn line segments, and
(ii) no segments of drawn lines lie inside the rectangle.
Given that the total length of all lines drawn is exactly 2007 units, let be the maximum possible number of basic rectangles determined. Find the remainder when is divided by 1000.