olymmath

DK-GEORGMOHR 2022 Problem 4

    Georg plays the following game. He chooses two positive integers nn and kk . On an n×nn \times n - board where all the tiles are white, Georg paints k of the tiles black. Then he counts the number of black tiles in each row, forms the square of each of these n numbers and adds up the squares. He calls the result SS . In the same way he counts the number of white tiles in each row, forms the square of each of these n numbers and adds up those squares. He calls the result HH . Georg would like to achieve S−H=49S - H = 49 . Determine all possible values of n and k for which this is possible.

    Example: If Georg chooses n=5n = 5 and k=14k = 14 , he could for example paint the board as shown. Image Then S=12+22+32+32+52=1+4+9+9+25=48S = 1^2 + 2^2 + 3^2 + 3^2 + 5^2 = 1 + 4 + 9 + 9 + 25 = 48 , H=42+32+22+22+02=16+9+4+4+0=33H = 4^2 + 3^2 + 2^2 + 2^2 + 0^2 = 16 + 9 + 4 + 4 + 0 = 33 , so in this case S−H=48−33=15S - H = 48 - 33 = 15 .

    Dataset text AI-MO AoPS. Quoted with source.

    Official text: Georg Mohr Contest 2022 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

    Similar problems

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

    Locator dk-georgmohr/2022/p4 · Tag VD6SPFV3SE · Edit this page on GitHub · Keys: j next, k previous