MathDB
Problems
Contests
National and Regional Contests
Canada Contests
Canadian Mathematical Olympiad Qualification Repechage
2015 Canadian Mathematical Olympiad Qualification
8
8
Part of
2015 Canadian Mathematical Olympiad Qualification
Problems
(1)
Magic castle maze
Source: Canada Repêchage 2015/8
6/18/2016
A magical castle has
n
n
n
identical rooms, each of which contains
k
k
k
doors arranged in a line. In room
i
,
1
≤
i
≤
n
−
1
i, 1 \leq i \leq n - 1
i
,
1
≤
i
≤
n
−
1
there is one door that will take you to room
i
+
1
i + 1
i
+
1
, and in room
n
n
n
there is one door that takes you out of the castle. All other doors take you back to room
1
1
1
. When you go through a door and enter a room, you are unable to tell what room you are entering and you are unable to see which doors you have gone through before. You begin by standing in room
1
1
1
and know the values of
n
n
n
and
k
k
k
. Determine for which values of
n
n
n
and
k
k
k
there exists a strategy that is guaranteed to get you out of the castle and explain the strategy. For such values of
n
n
n
and
k
k
k
, exhibit such a strategy and prove that it will work.
combinatorics