Maths Olympiad Prep

Library / /4 of 5

Combinatorics Difficulty 8.6 Shortlist Prove it Bulgaria

Problem:

Ivan and Peter play the following game. Ivan chooses a secret number from the set A={1,2,,90}A=\{1,2, \ldots, 90\}. Then Peter chooses a subset BB of AA and Ivan tells Peter whether his number is in the set BB or not. If the answer is "yes" then Peter pays Ivan 2 leva, and if the answer is "no" then he pays Ivan 1 lev. Find the least amount of leva that Peter needs so that he can always find Ivan's number.

Solution

Solution:

We shall solve the problem for A={1,2,,t}A=\{1,2, \ldots, t\}. Let F0=F1=1F_{0}=F_{1}=1, Fn+1=Fn+Fn1F_{n+1}=F_{n}+F_{n-1} for n1n \geq 1 be the Fibonacci sequence. We shall prove by induction that if Fn1<tFn,n2F_{n-1}<t \leq F_{n}, n \geq 2, then the desired sum equals nn.

Since for t=2t=2 and t=3t=3 Peter needs 2 or 3 leva, respectively, the assertion is true for n=2n=2 and n=3n=3.

Suppose that it is true for n=kn=k.

Choose t(Fk,Fk+1]t \in\left(F_{k}, F_{k+1}\right] and let Peter ask a question set having ss elements. If s(Fk1,Fk]s \in\left(F_{k-1}, F_{k}\right] and the answer is "yes" then Peter gives Ivan 2 leva and by the induction hypothesis he needs additional kk leva, i.e. in total k+2k+2 leva.
If sFk1s \leq F_{k-1}, then tsFk+1Fk1=Fk2+1t-s \geq F_{k}+1-F_{k-1}=F_{k-2}+1. If Peter receives answer "yes" then he pays 2 leva and he needs additional k1k-1 leva, i.e. in total k+1k+1 leva. It remains to notice that if Peter asks a question set with Fk1F_{k-1} elements and the answer is "yes" then he needs 2+k1=k+12+k-1=k+1 leva and for answer "no" he needs 1+k1=k1+k-1=k leva.
Since F10=89F_{10}=89 and F11>89F_{11}>89, the desired number equals 11 .

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.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.