MathDB
okay this combinatorics is epic

Source: Moldova TST 2019

March 10, 2019
combinatorics

Problem Statement

Let n2,n\ge 2, be a positive integer. Numbers {1,2,3,...,n}\{1,2,3, ...,n\} are written in a row in an arbitrary order. Determine the smalles positive integer kk with the property: everytime it is possible to delete kk numbers from those written on the table, such that the remained numbers are either in an increasing or decreasing order.