two operations on number form infinite sequence
Source: IMOC 2019 N5
August 19, 2021
number theorySequences
Problem Statement
Initially, Alice is given a positive integer . At time , Alice has two choices,
Note that it is dangerous to perform the first operation, so Alice cannot choose this operation in two consecutive turns. However, if , then Alice could only perform the first operation. Determine all so that is an infinite set.