2020 AIME I · Question 5
Problem outline
Arrange cards numbered through in a row. Count the arrangements from which one card can be removed so that the remaining five cards are in ascending or descending order.
Show answer and methods 1 methods
Answer
052
Method 1 Insert the removable card and correct overcounting
For an arrangement repairable to ascending order, choose the removable card and insert it into one of the six gaps of the other five sorted cards: constructions.
The fully sorted row is produced six times rather than once. Each of the five adjacent swaps is produced twice rather than once. Every other construction is unique, so the ascending count is .
Reversing all orders gives descending cases. An arrangement cannot contain both an increasing and a decreasing subsequence of length five, since the two would require at least positions. Thus the total is , recorded as .
Source and attribution
The outline and worked methods on this page were prepared for DR.WANG Mathematics.
Original question (external)