MathDB
Guessing a permutation

Source: HMIC 2019 Problem 2

April 28, 2019
combinatoricsHMIC

Problem Statement

Annie has a permutation (a1,a2,,a2019)(a_1, a_2, \dots ,a_{2019}) of S={1,2,,2019}S=\{1,2,\dots,2019\}, and Yannick wants to guess her permutation. With each guess Yannick gives Annie an nn-tuple (y1,y2,,y2019)(y_1, y_2, \dots, y_{2019}) of integers in SS, and then Annie gives the number of indices iSi\in S such that ai=yia_i=y_i.
(a) Show that Yannick can always guess Annie's permutation with at most 12000001200000 guesses. (b) Show that Yannick can always guess Annie's permutation with at most 2400024000 guesses.
Yannick Yao