The leader of an IMO team chooses positive integers and with , and announces them to the deputy leader and a contestant. The leader then secretly tells the deputy leader an -digit binary string, and the deputy leader writes down all -digit binary strings which differ from the leader's in exactly positions. (For example, if and , and if the leader chooses 101, the deputy leader would write down 001, 111, and 100.) The contestant, who is allowed to look at the strings written by the deputy leader, tries to guess the leader's string. What is the minimum number of guesses (in terms of and ) needed to guarantee the correct answer?
Solution
See IMO 2016 shortlist, problem C1.
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.