olymmath

HMMT 2018 T8

  • Team

Allen plays a game on a tree with 2n2 n vertices, each of whose vertices can be red or blue. Initially, all of the vertices of the tree are colored red. In one move, Allen is allowed to take two vertices of the same color which are connected by an edge and change both of them to the opposite color. He wins if at any time, all of the vertices of the tree are colored blue. (a) (20) Show that Allen can win if and only if the vertices can be split up into two groups V1V_{1} and V2V_{2} of size nn, such that each edge in the tree has one endpoint in V1V_{1} and one endpoint in V2V_{2}. (b) (40) Let V1={a1,…,an}V_{1}=\left\{a_{1}, \ldots, a_{n}\right\} and V2={b1,…,bn}V_{2}=\left\{b_{1}, \ldots, b_{n}\right\} from part (a). Let MM be the minimum over all permutations σ\sigma of {1,…,n}\{1, \ldots, n\} of the quantity

∑i=1nd(ai,bσ(i))\sum_{i=1}^{n} d\left(a_{i}, b_{\sigma(i)}\right)

where d(v,w)d(v, w) denotes the number of edges along the shortest path between vertices vv and ww in the tree. Show that if Allen can win, then the minimum number of moves that it can take for Allen to win is equal to MM. (A graph consists of a set of vertices and some edges between distinct pairs of vertices. It is connected if every pair of vertices are connected by some path of one or more edges. A tree is a graph which is connected, in which the number of edges is one less than the number of vertices.)

Dataset text NuminaMath olympiads. Quoted with source.

Solutions

No solution is on olymmath yet. Official and human solutions come first when they arrive. AI solutions come after them, with a label.

Add a solution

Similar problems

These problems have the most words in common with this statement.

Locator hmmt/2018/t8 · Tag 2DQ216BM60 · Edit this page on GitHub · Keys: j next, k previous