Solution:
We shall solve the problem for A={1,2,…,t}. Let F0=F1=1, Fn+1=Fn+Fn−1 for n≥1 be the Fibonacci sequence. We shall prove by induction that if Fn−1<t≤Fn,n≥2, then the desired sum equals n.
Since for t=2 and t=3 Peter needs 2 or 3 leva, respectively, the assertion is true for n=2 and n=3.
Suppose that it is true for n=k.
Choose t∈(Fk,Fk+1] and let Peter ask a question set having s elements. If s∈(Fk−1,Fk] and the answer is "yes" then Peter gives Ivan 2 leva and by the induction hypothesis he needs additional k leva, i.e. in total k+2 leva.
If s≤Fk−1, then t−s≥Fk+1−Fk−1=Fk−2+1. If Peter receives answer "yes" then he pays 2 leva and he needs additional k−1 leva, i.e. in total k+1 leva. It remains to notice that if Peter asks a question set with Fk−1 elements and the answer is "yes" then he needs 2+k−1=k+1 leva and for answer "no" he needs 1+k−1=k leva.
Since F10=89 and F11>89, the desired number equals 11 .