10 cards with the numbers 1 to 10
Source: Netherlands - Dutch NMO 2023 p5
March 25, 2024
combinatorics
Problem Statement
A maths teacher has cards with the numbers to on them, one number per card. She places these cards in some order in a line next to each other on the table. The students come to the table, one at a time. The student whose turn it is goes once through the line of cards from left to right and removes every card she encounters that is (at that moment) the lowest card on the table. This continues till all cards are removed from the table. For example, if the line is in order , , , , , , , , from left to right, the first student takes cards and . Then the second student comes who, in our example, takes the cards , , , , and . The third student then takes the cards , , and .
Let be the number of sequences of cards that the teacher can choose so that exactly nine students get a turn to pick cards. Let be the number of sequences of cards that the teacher can choose so that exactly two students get a turn to pick cards. Prove that .