olymmath

KöMaL 2013 B4505

    We have two containers with volumes of pp litres and of qq litres. It is allowed to fill up completely or empty either container at a tap, to fill up either container completely from the other one, and to pour the entire content of one into the other. Prove that if pp>qq are relatively prime positive integers, and ssis a positive integer such that s≤ps \le p, then it is possible to achieve that one container have exactly ss litres of water in it.

    Official text KöMaL. 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 hu-komal/2013/b4505 · Tag W50X9YV7CZ · Edit this page on GitHub · Keys: j next, k previous