In a mathematical competition, some competitors are friends; friendship is mutual, that is, when A is a friend of B, then B is also a friend of A.
We say that n≥3 different competitors A1,A2,…,An form a weakly-friendly cycle if Ai is not a friend of Ai+1 for 1≤i≤n (where An+1=A1), and there are no other pairs of non-friends among the components of the cycle.The following property is satisfied:"for every competitor C and every weakly-friendly cycle S of competitors not including C, the set of competitors D in S which are not friends of C has at most one element"Prove that all competitors of this mathematical competition can be arranged into three rooms, such that every two competitors in the same room are friends.(Serbia) searchinductionextremal principlegraph theoryset theorycombinatorics proposed