Maths Olympiad Prep

Track / Stage 6 / 146 of 400 #1146 of 1964

Problem 1146

National Olympiad, first round
Combinatorics Difficulty 6.1 Prove it Serbian Mathematical Olympiad · Serbia

Determine all nNn \in \mathbb{N} for which it is possible to divide the set {1,2,,3n}\{1,2, \ldots, 3 n\} into nn disjoint three-element subsets of the form {a,b,c}\{a, b, c\} in which bab-a and cbc-b are distinct numbers from the set {n1,n,n+1}\{n-1, n, n+1\}.

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Next problem →

Official solution

Solution:

The desired partition of the set {1,2,,3n}\{1,2, \ldots, 3 n\} corresponds to a partition of the vertices of a regular 3n3 n-gon P1P2P3nP_{1} P_{2} \ldots P_{3 n} into triples {Ai,Bi,Ci}\left\{A_{i}, B_{i}, C_{i}\right\} such that the angles of each of the triangles AiBiCiA_{i} B_{i} C_{i} are equal to n13nπ,n3nπ\frac{n-1}{3 n} \pi, \frac{n}{3 n} \pi and n+13nπ\frac{n+1}{3 n} \pi. By suitably labeling the vertices of the 3n3 n-gon, we can arrange for the vertices A1,B1,C1A_{1}, B_{1}, C_{1} to be exactly Pn,P2n1,P3nP_{n}, P_{2 n-1}, P_{3 n}. In other words, we lose no generality if we assume that among the triples {a,b,c}\{a, b, c\} into which the set {1,2,,3n}\{1,2, \ldots, 3 n\} is divided there is also the triple {n,2n1,3n}\{n, 2 n-1,3 n\}.

One of the remaining n1n-1 triples must contain two numbers from the interval [2n,3n1][2 n, 3 n-1], and these can only be 2n2 n and 3n13 n-1. The only triple that contains these numbers and does not contain nn is {n1,2n,3n1}\{n-1,2 n, 3 n-1\}.

All the other triples contain exactly one number from each of the intervals [1,n2],[n+1,2n2][1, n-2],[n+1,2 n-2] and [2n+1,3n2][2 n+1,3 n-2]. By applying the mapping (a,b,c)(a,b2,c4)(a, b, c) \rightarrow(a, b-2, c-4) for a<b<ca<b<c we obtain the corresponding decomposition of the set {1,2,,3(n2)}\{1,2, \ldots, 3(n-2)\} into triples. Since for n=1n=1 such a decomposition is not possible, by simple induction we show that it is not possible for any odd nn either.

On the other hand, for even n=2mn=2 m the triples (2i1,2i+n,2i+2n1)( 2 i-1,2 i+n, 2 i+2 n-1) and (2i,2i+n1,2i+2n)(2 i, 2 i+n-1,2 i+2 n) for i=1,,mi=1, \ldots, m satisfy the conditions.

Source: MathNet, licensed CC-BY-4.0. Statement translated into English from sr; metadata (topic, difficulty, ordering) added by this project.