olymmath

OMM 2012 Problem 2

    Let n≥4n \geq 4 be an even integer. Consider an n×nn \times n grid. Two cells ( 1×11 \times 1 squares) are neighbors if they share a side, are in opposite ends of a row, or are in opposite ends of a column. In this way, each cell in the grid has exactly four neighbors. An integer from 1 to 4 is written inside each square according to the following rules:

    • If a cell has a 2 written on it, then at least two of its neighbors contain a 1.
    • If a cell has a 3 written on it, then at least three of its neighbors contain a 1.
    • If a cell has a 4 written on it, then all of its neighbors contain a 1.

    Among all arrangements satisfying these conditions, what is the maximum number that can be obtained by adding all of the numbers on the grid?

    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 mx-omm/2012/p2 · Tag S0J0G20SVN · Edit this page on GitHub · Keys: j next, k previous