Browse · MathNet
PrintSAUDI ARABIAN MATHEMATICAL COMPETITIONS
Saudi Arabia counting and probability
Problem
Ten vertices of a regular 20-gon are painted black and the other ten vertices are painted blue. Consider the set consisting of diagonal and all other diagonals of the same length.
1. Prove that in this set, the number of diagonals with two black endpoints is equal to the number of diagonals with two blue endpoints.
2. Find all possible numbers of the diagonals with two black endpoints.

1. Prove that in this set, the number of diagonals with two black endpoints is equal to the number of diagonals with two blue endpoints.
2. Find all possible numbers of the diagonals with two black endpoints.
Solution
1) Define the diagonal with two black endpoints as the black diagonal and the diagonal with two blue endpoints as the blue diagonal. Firstly, consider the sequence of vertices:
The diagonal connecting two adjacent vertices has the same length as .
Because the vertices are painted by black and blue, then they can be divided into some blocks of black vertices and some blocks of blue vertices. It is easy to see that one black block lies between two blue blocks and one blue block lies between two black blocks, which implies that the number of black blocks and blue blocks are equal, denote this number as .
Notice that in each black block of size , the number of black diagonals is . By summing all the black diagonals among black block(s), we can see that the number of black diagonals equals the total black points minus the number of blocks, i.e. .
Similarly, the number of blue diagonals is . Therefore, the number of black diagonals is equal to the number of blue diagonals.
2) From part 1), the number of black diagonals is equal to with . It is easy to see that with each , we can find a way to paint the vertices such that there are exactly black block(s).
Final answer
{0, 1, 2, 3, 4, 5, 6, 7, 8, 9}
Techniques
Coloring schemes, extremal argumentsGreatest common divisors (gcd)