After losing a lot of money in
Bribe The Friend
, Andrei decides to play it safe. Kostya selects a number from 1 to 144, and Andrei is allowed to choose a single subset of the set {
}. Kostya is asked whether his chosen number belongs to that subset (being a very nice boy, Kostya is always truthful). If Kostya answers
yes
, Andrei must give him two pounds, if he answers
no
- one pound. Find the minimum sum of money Andrei must pay before being certain of the number.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
We want the same amount numbers to be remaining after paying two pounds regardless of whether Kostya says yes once or no twice. Thus, we want:
x = ( 1 − x ) 2 , which gives x = 2 3 − 5
We can then see that 1 − x = 2 5 − 1 , the inverse of the golden ratio.
Since 1 4 4 , is a number in the Fibonacci sequence, we see that we want to split the numbers into the Fibonacci sequence.
We split 1 4 4 into 8 9 and 5 5 , getting the answer yes for the set of 5 5 and no for the answer of 8 9 . We can see that 1 pound is paid per level of the Fibonacci sequence.
We can use this to go all the way down to F 3 = 2 , which will cost us 9 pounds, since 1 4 4 = F 1 2 . Now, there are two numbers left. We have no way of knowing whether the answer will be yes or no, so we will need to pay 2 pounds for it, because we are assuming the worst case scenario occurs.
∴ We put pay 1 1 pounds in order to ensure that we can be certain of the number.