subsequences of permutations of 1-n with no divisors of n
Source: 2016 Latvia BW TST P6
December 17, 2022
number theorySequence
Problem Statement
Given a natural number , for which we can find a prime number less than that is not a divisor of . The sequence is the numbers arranged in some order. For this sequence, we will find the longest ascending subsequense , () and the longest decreasing substring , () . Prove that at least one of these two subsequnsces and contains a number that is not a divisor of .