olymmath

PAGMO 2021 Problem 5

    Celeste has an unlimited amount of each type of nn types of candy, numerated type 1, type 2, ... type n. Initially she takes m>0m>0 candy pieces and places them in a row on a table. Then, she chooses one of the following operations (if available) and executes it: 1.1. She eats a candy of type kk , and in its position in the row she places one candy type k−1k-1 followed by one candy type k+1k+1 (we consider type n+1n+1 to be type 1, and type 0 to be type nn ). 2.2. She chooses two consecutive candies which are the same type, and eats them.

    Find all positive integers nn for which Celeste can leave the table empty for any value of mm and any configuration of candies on the table. Proposed by Federico Bach and Santiago Rodriguez, Colombia\textit{Proposed by Federico Bach and Santiago Rodriguez, Colombia}

    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 pagmo/2021/p5 · Tag W4ZZ4GGHEZ · Edit this page on GitHub · Keys: j next, k previous