PUMaC 2008 · 团队赛 · 第 9 题
PUMaC 2008 — Team Round — Problem 9
题目详情
(7分) Alex Lishkov 试图猜测一个由2009个随机三进制数字(0,1,2)组成的序列。他每猜一个数字后,会知道是否正确。如果猜错,且正确答案是 ,则神谕会告诉他接下来的 个数字是什么。作为保加利亚人,Lishkov 的目标是最大化正确猜测的期望数量。求最优策略下正确猜测的期望数量。
英文原题
- (7 points) Alex Lishkov is trying to guess sequence of 2009 random ternary digits (0, 1, or 2). After
he guesses each digit, he finds out whether he was right or not. If he guesses incorrectly, and k was
the correct answer, then an oracle tells him what the next k digits will be. Being Bulgarian, Lishkov
plays to maximize the expected number of digits guessed correctly. Let be the probability that
Lishkov guesses the n th digit correctly. Find . Write your answer in the form x + y Re( ρ^{k} ),
where x and y are rational, ρ is complex, and k is a positive integer.
解析
英文解析
We can prove by induction on the number of digits remaining that it is best for Alex to guess 0
when he doesn’t know the digit and give the correct answer when he does. The base cases where
he has 3 or fewer digits left can easily be checked by hand. For the other cases, If he doesn’t know
the answer, he guesses 0 because it maximizes the number of digits he will find out if he is wrong
(except at the very last digit, where it doesn’t matter what he guesses). If he does know the
answer, by guessing correctly and following the given strategy, he can guarantee himself an
expected value of at least^{19}{9} and possibly some knowledge over the next three digits. By guessing
incorrecly, he finds out at most two digits, which, by the inductive hypothesis, guarantees him an
expected value of 2 over those three digits, and no knowledge at the end. So it is strictly better to
guess correctly.
With this strategy, let , , and be the probability that he gets the nth digit right given that
it is a 0, 1, or 2, respectively. He always gets zeroes right, so . He gets a 1 or a 2 only when
he knows it ahead of time, so it doesn’t matter whether it’s a 1 or a 2: . The only time he
can guess a 1 correctly is when he knows it, for which there are three mutually exclusive
possibilities: He guessed incorrectly on a 1 or a 2 one step ago, or he guessed incorrectly on a 2
two steps ago. = (1 − ) + (1 − ) = 1 - - . (Here we take for
3
Team
k ≤ 0) So taking − 1 / 2, we get = - - . So, if and are the roots of
√
− 1 ± − 2
= - x - , then . ={3}, and = , = - . So^{1}{2} =
√ √ √
− 1+ − 2 − 1 − − 2 1 ± − 2
and - = . So ={4}. Note that and ( ){+}, so
( ) A − − ( . So, B n = A ) + − Re A + . So,
√ ({√} ){2009} ({√} ){2008}
1+ − 2 − 1+ − 2 − 1+ − 2
Re{43} = - Re_{3}. So the probability of guessing
( ({√} ){2008} )
− 1+ − 2
correctly on the 2009th digit is (1 + 2 ) = (1 + ) = - Re_{3}