Subcontests
(8)How is it not prime relatives???
Let N≥2 be a positive integer. Given a sequence of natural numbers a1,a2,a3,…,aN+1 such that for every integer 1≤i≤j≤N+1,
aiai+1ai+2…aj≡1modN
Prove that there exist a positive integer k≤N+1 such that gcd(ak,N)=1 Most Number of Sequences
Let A be the sequence of zeroes and ones (binary sequence). The sequence can be modified by the following operation: we may pick a block or a contiguous subsequence where there are an unequal number of zeroes and ones, and then flip their order within the block (so block a1,a2,…,ar becomes ar,ar−1,…,a1).As an example, let A be the sequence 1,1,0,0,1. We can pick block 1,0,0 and flip it, so the sequence 1,1,0,0,1 becomes 1,0,0,1,1. However, we cannot pick block 1,1,0,0 and flip their order since they contain the same number of 1s and 0s.Two sequences A and B are called related if A can be transformed into B using a finite number the operation mentioned above.Determine the largest natural number n for which there exists n different sequences A1,A2,…,An where each sequence consists of 2022 digits, and for every index i=j, the sequence Ai is not related to Aj.