Skip to main content
OlympiadHQ

Browse · MathNet

Print

62nd Ukrainian National Mathematical Olympiad

Ukraine counting and probability

Problem

For a natural number , consider an board. Let points denote the centers of each of the squares on this board. What is the largest number of these points that can be marked in such a way that no three marked points form the vertices of a right triangle? (Mykhailo Shtandenko)

problem
Solution
We will show that there is an example where the marked number of points satisfies the conditions of the problem. For this, we will denote the centers of all the cells in the first row and the first column, except for the center of the cell at the intersection of the first row and the first column (see Fig. 3). By simple enumeration, it is easy to see that no three marked points are vertices of a right triangle.

Suppose that this is not the maximum possible value for the number of marked points, i.e., it is possible to mark centers of the marked centers in such a way that no three of them form the vertices of a right triangle. It follows that for each marked point, this is the only marked point in the row or column with this point. Let there be marked points in the columns respectively. If for some , then for each of the marked points in the -th column, this point is the only one in its row, otherwise a triangular rectangle will be formed. Therefore, the total number of such points for which is no more than — the total number of rows. But if there are exactly of these points, then the total number of marked points is also , which does not exceed . Otherwise, the sum of all greater than one does not exceed . On the other hand, the sum of all that are equal to one is also no more than . If there are exactly of these points, then again all the marked points are , which does not exceed . Thus, the number of both types of marked points is no more than , and therefore their total number is no more than . Thus, there cannot be more marked points than this value.

Fig. 3
Final answer
2n-2

Techniques

Pigeonhole principleColoring schemes, extremal arguments