Skip to main content
OlympiadHQ

Browse · MathNet

Print

Estonian Mathematical Olympiad

Estonia counting and probability

Problem

Let be an integer. In an grid there are three invisible monsters: one in the upper right corner square and one in each of its neighboring squares. In a area in the opposite corner of the grid some frogs are placed. A square may contain more than one frog.

The frogs and the monsters take turns making the following moves. On the frogs' turn, each frog makes a knight move, jumping either two squares up and one to the right or one square up and two to the right. On the monsters' turn, they may make up to a total of 3 knight moves, jumping either two squares down and one to the left or one square down and two to the left. The frogs start. If a frog and a monster ever land on the same square, the monster will eat the frog.

Find the least number of frogs needed to ensure that at least one frog could make it to a spot where both possible jumps would take it off the grid.

problem
Solution
We color the square in 3 colors by descending diagonals (in Fig. 16 the colors are denoted by A, B, C and X, Y, Z, which are still the same colors, but their order depends on the value of ). Notice that both frogs and monsters can only jump on squares of the same color as the one they started from. As the monsters cover only two colors of squares, but a area contains squares of all three colors, it is sufficient to place one frog on a square of the color not covered by the monsters. In this case, no matter the moves, the frog will be safe.

Fig. 16
Final answer
1

Techniques

Coloring schemes, extremal argumentsInvariants / monovariantsGames / greedy algorithms