MathDB
Colouring of a 2-tree

Source: 2022 IZHO P2, https://izho.kz/contest/problems/

February 18, 2022
combinatorics

Problem Statement

A ten-level 22-tree is drawn in the plane: a vertex A1A_1 is marked, it is connected by segments with two vertices B1B_1 and B2B_2, each of B1B_1 and B2B_2 is connected by segments with two of the four vertices C1,C2,C3,C4C_1, C_2, C_3, C_4 (each CiC_i is connected with one BjB_j exactly); and so on, up to 512512 vertices J1,,J512J_1, \ldots, J_{512}. Each of the vertices J1,,J512J_1, \ldots, J_{512} is coloured blue or golden. Consider all permutations ff of the vertices of this tree, such that (i) if XX and YY are connected with a segment, then so are f(X)f(X) and f(Y)f(Y), and (ii) if XX is coloured, then f(X)f(X) has the same colour. Find the maximum MM such that there are at least MM permutations with these properties, regardless of the colouring.