game on sequence
Source: 9th EMC, 12th December 2020 - 20th December 2020. SENIOR league, P3.
December 22, 2020
number theorygameprime numbers
Problem Statement
Let be a prime number. Troy and Abed are playing a game. Troy writes a positive integer on the board, and gives a sequence of positive integers to Abed. Abed now makes a sequence of moves. The -th move is the following:
Abed wins if at some point the number on the board is a multiple of . Determine whether Abed can win, regardless of Troy’s choices, if
;
.
Remark: Both and are prime.Proposed by Ivan Novak