Maths Olympiad Prep

Library / /314 of 377

Combinatorics Difficulty 5.5 AIME, harder Prove it United States

Problem:
Find the least positive integer NN with the following property: If all lattice points in [1,3]×[1,7]×[1,N][1,3] \times [1,7] \times [1, N] are colored either black or white, then there exists a rectangular prism, whose faces are parallel to the xyxy, xzxz, and yzyz planes, and whose eight vertices are all colored in the same color.

Solution

Solution:
Answer: 127127

First we claim that if the lattice points in [1,3]×[1,7][1,3] \times [1,7] are colored either black or white, then there exists a rectangle whose faces are parallel to the xx and yy axes, whose vertices are all the same color (a.k.a. monochromatic). Indeed, in every row y=iy = i, 1i71 \leq i \leq 7, there are two lattice points with the same color. Note there are 33 combinations of 22 columns to choose from (for the two similarly-colored lattice points to be in), and 22 colors to choose from. By the Pigeonhole Principle, in the 23+1=72 \cdot 3 + 1 = 7 rows two rows must have a pair of similarly-colored lattice points in the same columns, i.e. there is a monochromatic rectangle.

This shows that in each cross section z=iz = i, 1iN1 \leq i \leq N there is a monochromatic rectangle. Next, note there are (32)(72)\binom{3}{2} \binom{7}{2} possibilities for this rectangle ((32)\binom{3}{2} ways to choose the 22 xx-coordinates and (72)\binom{7}{2} ways to choose the 22 yy-coordinates), and 22 possible colors. Thus if N=2(32)(72)+1=127N = 2 \binom{3}{2} \binom{7}{2} + 1 = 127, then by the Pigeonhole Principle there are two values of ii such that the same-colored rectangle has the same xx and yy coordinates in the plane z=iz = i, i.e. there is a monochromatic rectangular prism.

For N=126N = 126 the assertion is not true. In each cross section z=iz = i, we can color so that there is exactly 11 monochromatic rectangle, and in the 126126 cross sections, have all 126126 possible monochromatic rectangles represented. To do this, in each cross section we color so that each row has exactly 22 lattice points of the same color, and such that 66 of the rows give all possible combinations of 22 points having the same color. This way, there will be exactly 11 monochromatic rectangle in each cross section; we can obviously vary it for the different cross sections.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.