Periodic sequence
Source: ITAMO 2021 Problem 6
June 3, 2021
number theoryprime numbers
Problem Statement
A sequence consists of an initial block of positive distinct integers that then repeat periodically. This means that are distinct positive integers and for every positive integer . The terms of the sequence are not known and the goal is to find the period . To do this, at each move it possible to reveal the value of a term of the sequence at your choice.(a) Knowing that , find the least such that there is a strategy which allows to find revealing at most terms of the sequence.
(b) Knowing that is one of the first prime numbers, find for which values of there exist a strategy that allows to find revealing at most terms of the sequence.