olymmath

IT-CESENATICO 2019 Problem 6

    Alberto and Barbara are sitting one next to each other in front of a table onto which they arranged in a line 1515 chocolates. Some of them are milk chocolates, while the others are dark chocolates. Starting from Alberto, they play the following game: during their turn, each player eats a positive number of consecutive chocolates, starting from the leftmost of the remaining ones, so that the number of chocolates eaten that are of the same type as the first one is odd (for example, if after some turns the sequence of the remaining chocolates is MMDMD,\text{MMDMD}, where M\text{M} stands for milk\emph{milk} and D\text{D} for dark,\emph{dark}, the player could either eat the first chocolate, the first 44 chocolates or all 55 of them). The player eating the last chocolate wins.

    Among all 2152^{15} possible initial sequences of chocolates, how many of them allow Barbara to have a winning strategy?

    Dataset text AI-MO AoPS. Quoted with source.

    Solutions

    No solution is on olymmath yet. Official and human solutions come first when they arrive. AI solutions come after them, with a label.

    Add a solution

    Similar problems

    These problems have the most words in common with this statement.

    Locator it-cesenatico/2019/p6 · Tag X7PCVYKF98 · Edit this page on GitHub · Keys: j next, k previous