Two players $A$ and $B$ are playing a game. $B$ has $k$ sheets of paper lying next to each other on a table. On each of the sheets, he writes some of the numbers from $1$ to $n$ (he can write no number, or all the numbers). On the back of each sheet, he writes all those integers from $1$ to $n$ that he did not write in the front. Now player $A$ is allowed to flip any number of sheets. If he succeeds in making all the numbers from $1$ to $n$ visible at least once, he wins. Determine the smallest value of $k$ so that $A$ can always win, irrespective of $B$'s actions.
How shall I even begin solving this? I am not getting any idea to do this game theory problem.
I got the question from a friend and he says it's from Netherlands Olympiad, though I didn't get after Googling a bit.. And suppose, $A$ decides opened-eyes, then $n=1$ is the minimum value, right? I am not fully sure though. Can it be proved? And what if he cannot do opened-eye?
I can't form a rigorous solution to the whole problem.
If we let $m$ be the positive integer such that $2^m \leq n < 2^{m+1}$, then $k=m+1.
The proof consists of two steps. Showing that $k>m$ by constructing a set of $m$ sheets that cannot reveal all the numbers $1,\dots,n$ at the same time, and after that by induction that there is a strategy for $A$ such that with $k+1$ sheet this can always be done.
For constructing the $m$ sheets we take the binary representation of the numbers $1,\dots,2^m \leq n$ (with leading zero's if required). On the front side of the $l$th sheet we write all the numbers with a "1" at the $l$th significant digit in its binary representation and the numbers with a "0" will be on the back. The numbers $>2^m$ can be distributed using the same pattern or arbitrarily.
In this way sheet 1 contains $1,3,5,7,\dots,2^m-1$ on the front and $2,4,6,8,\dots,2^m$ on the back. Sheet 2 will have $1,4,5,8,\dots,2^m$ on the front and $2,3,6,7,\dots,2^m-1$ on the back, etc.
If player $A$ has some of the $m$ sheet turned face upwards and some other face downwards, we can write this order as the binary representation $b_mb_{m-1}\dots b_2b_1$ where $b_i$ is 1 it the $i$th sheet is front up and 0 if it is downwards. The number with binary representation $a_ma_{m-1}\dots a_2a_1$ with $a_i = 1 - b_i$, will never be visible (here only zero's will correspond with $2^m$). Note that the numbers $>2^m$ do not play any role and hence the same construction applies to larger values of $n$. It follows that for $n \geq 2^m$ we find a lower limit of cards $m<k$ for a guaranteed winning of $A$.
For the second part of the proof we use the following statement:
I the case $m=0$ this is trivially true, because for $n=1$ one card is all it takes. So suppose it is true for all $m < l$. Consider a game with $2^l \leq n < 2^{l+1}$. A(ny) sheet will contain at least $\lceil\frac{n}{2}\rceil$ of numbers on one side (possibly more). By turning that side up the game changes to a smaller game with $n - \lceil\frac{n}{2}\rceil < 2^{l}$ different numbers for which we know that at most $l$ sheets would be required, and hence we find that the statement is also true for $m=l$ and hence by induction for all $m$.