Skip to main content
OlympiadHQ

Browse · MathNet

Print

NMO Selection Tests for the Junior Balkan Mathematical Olympiad

Romania counting and probability

Problem

An array is divided into 64 unit squares. In some of the unit squares a diagonal is drawn, such that no two diagonals share a common point – not even an endpoint. Find the maximum number of diagonals that can be drawn under these circumstances.
Solution
Look at two contiguous rows of a array, containing diagonals in the cells of row and diagonals in the cells of row . The ends of these diagonals on the separating line of the two rows have to be distinct points, and they can only occupy at most the available positions, therefore . Since the rows may be grouped in sets of pairwise contiguous rows, the total number of diagonals drawn in the array is at most . A model is easily found – only use / type diagonals in the cells of coordinates and , with . The answer for is therefore .

Alternative Solution.

Colour the nodes of the array alternatively white and black by columns, starting with the left side. Any diagonal drawn will then have its ends of different colour. Since there are exactly black nodes (while there are white nodes), and all diagonals are disjoint, it follows the total number of diagonals drawn in the array is at most . At close inspection, it is virtually the same idea as above, in a more elegant setting.
Final answer
36

Techniques

Coloring schemes, extremal argumentsPigeonhole principle