2024 SSMO Relay Round 3 Problems/Problem 3
Problem
Let Riley and Boris are playing a game on a
grid of dots. The game alternates turns and starts with Riley. Each turn, a player draws a line connected two different random dots, exactly 1 unit apart. The first person to complete the first unit square loses the game. Given that Riley plays optimally and Boris plays randomly, the probability that Riley wins can be expressed as
Find the least positive integer
such that
is an integer.
Solution
Let the "score" of an edge be the number of unit squares it is part of. Note the edges on the edge of the square are part of one unit square and the other
edges all lie on two unit squares. Now, note that the first player that places an edge such that the total score of all edges placed exceeds
loses. Note that if Riley places all the edges, then after
turns, there will be a score of
Afterwards, there will be an odd score after Boris's turn each time and an even score after Riley's turn each time. Since
is even, this means that Boris places the edge that increases the total score to
in other words, Boris completes the first unit square. So,
meaning
~SMO_Team