Dragos, the early ruler of Moldavia, and Maria the Oracle play the following game. Firstly, Maria chooses a set S of prime numbers. Then Dragos gives an infinite sequence x1,x2,... of distinct positive integers. Then Maria picks a positive integer M and a prime number p from her set S. Finally, Dragos picks a positive integer N and the
game ends. Dragos wins if and only if for all integers n≥N the number xn is divisible by pM; otherwise, Maria wins. Who has a winning strategy if the set S must be: a) finite; b) infinite?Proposed by Boris Stanković, Bosnia and Herzegovina JuniorBalkanshortlist2021number theorygame