Browse · MathNet
PrintThe South African Mathematical Olympiad Third Round
South Africa counting and probability
Problem
Let be an integer, and consider a set of points in three-dimensional space such that: (i) every two distinct points are connected by a string which is either red, green, blue, or yellow; (ii) for every three distinct points, if the three strings between them are not all of the same colour, then they are of three different colours; (iii) not all the strings have the same colour. Find the maximum possible value of .

Solution
Let us fix a notation: Number the points ; The colour of the string between points and is denoted by , so that for all , , and where , , , and .
For , there is a trivial solution, by putting, say, , , . Also, for it is fairly straightforward to see a solution, say , , and .
Henceforth, assume that .
We first observe that no point can have three strings of the same colour attached to it. For suppose (without loss of generality) that . Then . This implies that there must be a fifth point, , say, such that (otherwise all strings will have the same colour ). Assume . Then . Assume that , say. Then , forcing . But then , by condition (ii) applied to the two sets and of three points each. The contradiction proves that our claim is valid. Consequently, there can be at most two strings of each colour attached to each point, implying that there can be no more than nine points in total.
We now show that it is indeed possible that nine points can be mutually connected by strings such that all conditions (i) to (iii) are satisfied.
Partition the points into three subsets of three points each: , , . First, consider the three 'internal' monochromatic triangles (all sides Blue) where the points in each of these subsets are connected with Blue strings. Then we construct nine further monochromatic triangles , where , , and (three of each of the colours Green, Red and Yellow). This can be done in several ways (six ways, to be precise). We show here a nice symmetrical one: Three Green triangles , , ; Three Red triangles , , ; Three Yellow triangles , , . See Figure 4.
The motivation behind the method used here was to write a table: The rows of (, , ) are used to determine the three Blue triangles. The columns (, , ) are used to determine the three Green triangles. For the final two colours we use one element from each row and one element from each column, in two possible ways: For the Red triangles: , , ; and for the Yellow triangles: , , .
Now we have a string between each two points, and if a triangle contains two sides/strings of the same colour, the third side must also be of that colour.
We conclude that the maximum possible value of is .
For , there is a trivial solution, by putting, say, , , . Also, for it is fairly straightforward to see a solution, say , , and .
Henceforth, assume that .
We first observe that no point can have three strings of the same colour attached to it. For suppose (without loss of generality) that . Then . This implies that there must be a fifth point, , say, such that (otherwise all strings will have the same colour ). Assume . Then . Assume that , say. Then , forcing . But then , by condition (ii) applied to the two sets and of three points each. The contradiction proves that our claim is valid. Consequently, there can be at most two strings of each colour attached to each point, implying that there can be no more than nine points in total.
We now show that it is indeed possible that nine points can be mutually connected by strings such that all conditions (i) to (iii) are satisfied.
Partition the points into three subsets of three points each: , , . First, consider the three 'internal' monochromatic triangles (all sides Blue) where the points in each of these subsets are connected with Blue strings. Then we construct nine further monochromatic triangles , where , , and (three of each of the colours Green, Red and Yellow). This can be done in several ways (six ways, to be precise). We show here a nice symmetrical one: Three Green triangles , , ; Three Red triangles , , ; Three Yellow triangles , , . See Figure 4.
The motivation behind the method used here was to write a table: The rows of (, , ) are used to determine the three Blue triangles. The columns (, , ) are used to determine the three Green triangles. For the final two colours we use one element from each row and one element from each column, in two possible ways: For the Red triangles: , , ; and for the Yellow triangles: , , .
Now we have a string between each two points, and if a triangle contains two sides/strings of the same colour, the third side must also be of that colour.
We conclude that the maximum possible value of is .
Final answer
9
Techniques
Coloring schemes, extremal arguments