olymmath

KöMaL 2020 B5115

    Ali has nn coins in his purse, and Baba has n−1n-1 purses, initially all empty. Baba is playing the following game: he divides the coins (all in the same purse at start) into two purses, with a1a_1 coins in one of them and b1b_1 coins in the other (a1,b1>0a_1,b_1>0), and then he writes the product a1b1a_1b_1 on a blackboard. Then he continues in the same way: in the kkth move (k=2,3,…k=2,3,\ldots) he selects a purse containing at least two coins, divides them between two empty purses, with aka_k coins in one of them and bkb_k in the other (ak,bk>0a_k,b_k>0), and writes the product akbka_kb_k on the board. The game terminates when there is 1 coin in each purse. Then Ali gives as many coins to Baba as the sum of all the products akbka_k b_k on the board. What is the maximum number of coins that Baba may get?

    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/2020/b5115 · Tag Z6JZ158HRY · Edit this page on GitHub · Keys: j next, k previous