MathDB
10 cards with the numbers 1 to 10

Source: Netherlands - Dutch NMO 2023 p5

March 25, 2024
combinatorics

Problem Statement

A maths teacher has 1010 cards with the numbers 11 to 1010 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 33, 11, 44, 55, 8,8, 66, 99, 1010, 22, 77 from left to right, the first student takes cards 11 and 22. Then the second student comes who, in our example, takes the cards 33, 44, 55, 66, and 77. The third student then takes the cards 88, 99, and 1010. Let AA be the number of sequences of cards that the teacher can choose so that exactly nine students get a turn to pick cards. Let BB 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 A=BA = B.