MathDB
2008 PUMaC Team B9

Source:

October 4, 2019
combinatorics

Problem Statement

Alex Lishkov is trying to guess sequence of 20092009 random ternary digits (0,10, 1, or 22). After he guesses each digit, he finds out whether he was right or not. If he guesses incorrectly, and kk was the correct answer, then an oracle tells him what the next kk digits will be. Being Bulgarian, Lishkov plays to maximize the expected number of digits guessed correctly. Let PnP_n be the probability that Lishkov guesses the nth digit correctly. Find P2009P_{2009}. Write your answer in the form x+yRe(ρk)x + yRe(\rho^k), where xx and yy are rational, ρ\rho is complex, and kk is a positive integer