MathDB
2023 Putnam A6

Source:

December 3, 2023
PutnamPutnam 2023

Problem Statement

Alice and Bob play a game in which they take turns choosing integers from 1 to nn. Before any integers are chosen, Bob selects a goal of "odd" or "even". On the first turn, Alice chooses one of the nn integers. On the second turn, Bob chooses one of the remaining integers. They continue alternately choosing one of the integers that has not yet been chosen, until the nnth turn, which is forced and ends the game. Bob wins if the parity of {k\{k : the number kk was chosen on the kkth turn }\} matches his goal. For which values of nn does Bob have a winning strategy?