Maths Olympiad Prep

Library / /91 of 383

, 2020

Combinatorics Difficulty 8.1 Shortlist Prove it IMO

4n4 n coins of weights 1,2,3,,4n1, 2, 3, \ldots, 4 n are given. Each coin is colored in one of nn colors and there are four coins of each color. Show that all these coins can be partitioned into two sets with the same total weight, such that each set contains two coins of each color.
(Hungary)

Solutions — 2

Solution 1

Let us pair the coins with weights summing up to 4n+14 n + 1, resulting in the set SS of 2n2 n pairs: {1,4n},{2,4n1},,{2n,2n+1}\{1, 4 n\}, \{2, 4 n - 1\}, \ldots, \{2 n, 2 n + 1\}. It suffices to partition SS into two sets, each consisting of nn pairs, such that each set contains two coins of each color.

Introduce a multi-graph GG (i.e., a graph with loops and multiple edges allowed) on nn vertices, so that each vertex corresponds to a color. For each pair of coins from SS, we add an edge between the vertices corresponding to the colors of those coins. Note that each vertex has degree 44. Also, a desired partition of the coins corresponds to a coloring of the edges of GG in two colors, say red and blue, so that each vertex has degree 22 with respect to each color (i.e., each vertex has equal red and blue degrees).

To complete the solution, it suffices to provide such a coloring for each component GG' of GG. Since all degrees of the vertices are even, in GG' there exists an Euler circuit CC (i.e., a circuit passing through each edge of GG' exactly once). Note that the number of edges in CC is even (it equals twice the number of vertices in GG'). Hence all the edges can be colored red and blue so that any two edges adjacent in CC have different colors (one may move along CC and color the edges one by one alternating red and blue colors). Thus in GG' each vertex has equal red and blue degrees, as desired.

Solution 2

As in Solution 1, we will show that it is possible to partition 2n2 n pairs {1,4n}\{1, 4 n\}, {2,4n1},,{2n,2n+1}\{2, 4 n - 1\}, \ldots, \{2 n, 2 n + 1\} into two sets, each consisting of nn pairs, such that each set contains two coins of each color.

Introduce a multi-graph (i.e., a graph with multiple edges allowed) Γ\Gamma whose vertices correspond to coins; thus we have 4n4 n vertices of nn colors so that there are four vertices of each color. Connect pairs of vertices {1,4n},{2,4n1},,{2n,2n+1}\{1, 4 n\}, \{2, 4 n - 1\}, \ldots, \{2 n, 2 n + 1\} by 2n2 n black edges.

Further, for each monochromatic quadruple of vertices i,j,k,i, j, k, \ell we add a pair of grey edges forming a matching, e.g., (i,j)(i, j) and (k,)(k, \ell). In each of nn colors of coins we can choose one of three possible matchings; this results in 3n3^n ways of constructing grey edges. Let us call each of 3n3^n possible graphs Γ\Gamma a cyclic graph. Note that in a cyclic graph Γ\Gamma each vertex has both black and grey degrees equal to 11. Hence Γ\Gamma is a union of disjoint cycles, and in each cycle black and grey edges alternate (in particular, all cycles have even lengths).

It suffices to find a cyclic graph with all its cycle lengths divisible by 44. Indeed, in this case, for each cycle we start from some vertex, move along the cycle and recolor the black edges either to red or to blue, alternating red and blue colors. Now blue and red edges define the required partition, since for each monochromatic quadruple of vertices the grey edges provide a bijection between the endpoints of red and blue edges.

Among all possible cyclic graphs, let us choose graph Γ0\Gamma_0 having the minimal number of components (i.e., cycles). The following claim completes the solution.

Claim. In Γ0\Gamma_0, all cycle lengths are divisible by 44.

Proof. Assuming the contrary, choose a cycle C1C_1 with an odd number of grey edges. For some color cc the cycle C1C_1 contains exactly one grey edge joining two vertices i,ji, j of color cc, while the other edge joining two vertices k,k, \ell of color cc lies in another cycle C2C_2. Now delete edges (i,j)(i, j) and (k,)(k, \ell) and add edges (i,k)(i, k) and (j,)(j, \ell). By this switch we again obtain a cyclic graph Γ0\Gamma_0' and decrease the number of cycles by 11. This contradicts the choice of Γ0\Gamma_0.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.