olymmath

ELMO 2023 Problem 2

    Let aa, bb, and nn be positive integers. A lemonade stand owns nn cups, all of which are initially empty. The lemonade stand has a filling machine and an emptying machine, which operate according to the following rules:

    • If at any moment, aa completely empty cups are available, the filling machine spends the next aa minutes filling those aa cups simultaneously and doing nothing else.
    • If at any moment, bb completely full cups are available, the emptying machine spends the next bb minutes emptying those bb cups simultaneously and doing nothing else. Suppose that after a sufficiently long time has passed, both the filling machine and emptying machine work without pausing. Find, in terms of aa and bb, the least possible value of nn.

    Proposed by Raymond Feng

    Dataset text AI-MO AoPS. Quoted with source.

    Official text: ELMO 2023 official paper, page 1.

    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

    Locator elmo/2023/p2 · Tag 8R59W7ABDC · Edit this page on GitHub · Keys: j next, k previous