The numbers 1 to 101 are written in a random order on the board. Show that it is possible to erase 90 of them so that the 10 remaining are either in ascending or descending order.
## Solutions
The numbers 1 to 101 are written in a random order on the board. Show that it is possible to erase 90 of them so that the 10 remaining are either in ascending or descending order.
## Solutions
Let be the numbers in the order in which they are written. For any , let (respectively ) be the length of the longest increasing (respectively decreasing) subsequence of the sequence starting at . Our goal is to show that there exists such that either or is greater than or equal to 11. Otherwise, there are at most . Similarly, if , then . We thus obtain a contradiction.
Remark: By the same reasoning, we can show more generally that in any sequence of distinct numbers, we can find an increasing subsequence of length or a decreasing subsequence of length . This result is known as the Erdös and Szekeres theorem.
## 3 Thursday afternoon: Pierre Bornsztein
Games and Strategies.