MathDB
exist M for which a_n = a_M for n >= M, remainder a_k is divided by 2^n

Source: 2021 Saudi Arabia Training Lists p32 https://artofproblemsolving.com/community/c2758131_2021_saudi_arabia_training_tests

January 5, 2022
number theoryalgebraSequenceremainder

Problem Statement

Let NN be a positive integer. Consider the sequence a1,a2,...,aNa_1, a_2, ..., a_N of positive integers, none of which is a multiple of 2N+12^{N+1}. For nN+1n \ge N +1, the number ana_n is defined as follows: choose kk to be the number among 1,2,...,n11, 2, ..., n - 1 for which the remainder obtained when aka_k is divided by 2n2^n is the smallest, and define an=2aka_n = 2a_k (if there are more than one such kk, choose the largest such kk). Prove that there exist MM for which an=aMa_n = a_M holds for every nMn \ge M.