MathDB
Problems
Contests
National and Regional Contests
Latvia Contests
Latvia BW TST
2022 Latvia Baltic Way TST
P6
P6
Part of
2022 Latvia Baltic Way TST
Problems
(1)
Game of picking numbers ending in a coprime pair
Source: Latvian TST for Baltic Way 2022 P6
11/25/2022
The numbers
1
,
2
,
3
,
…
,
n
1,2,3,\ldots ,n
1
,
2
,
3
,
…
,
n
are written in a row. Two players, Maris and Filips, take turns making moves with Maris starting. A move consists of crossing out a number from the row which has not yet been crossed out. The game ends when there are exactly two uncrossed numbers left in the row. If the two remaining uncrossed numbers are coprime, Maris wins, otherwise Filips is the winner. For each positive integer
n
≥
4
n\ge 4
n
≥
4
determine which player can guarantee a win.
combinatorics