2024 COMC B4
Source:
November 4, 2024
Comc
Problem Statement
Initially, the integer is written on a blackboard. At each step, the integer on the blackboard is replaced with an integer chosen uniformly at random among [0,x−1], unless , in which case it is replaced by an integer chosen uniformly at random among [0,2024]. Let be the probability that after steps, the integer on the board is . Determine
(that is, the value that the function approaches as goes to infinity).