MathDB
Guess the leader's binary string!

Source: 2016 IMO Shortlist C1

July 19, 2017
combinatoricsIMO ShortlistStringsBinary

Problem Statement

The leader of an IMO team chooses positive integers nn and kk with n>kn > k, and announces them to the deputy leader and a contestant. The leader then secretly tells the deputy leader an nn-digit binary string, and the deputy leader writes down all nn-digit binary strings which differ from the leader’s in exactly kk positions. (For example, if n=3n = 3 and k=1k = 1, and if the leader chooses 101101, the deputy leader would write down 001,111001, 111 and 100100.) The contestant is allowed to look at the strings written by the deputy leader and guess the leader’s string. What is the minimum number of guesses (in terms of nn and kk) needed to guarantee the correct answer?