DR.WANG Mathematics中文

2020 AIME I · Question 5

Counting & combinatorics · permutations · arrangements with restrictions · casework · problem-solving

Problem outline

Arrange cards numbered 11 through 66 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: 6⋅6=366\cdot6=36 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 36−5−5=2636-5-5=26.

Reversing all orders gives 2626 descending cases. An arrangement cannot contain both an increasing and a decreasing subsequence of length five, since the two would require at least 5+5−1=95+5-1=9 positions. Thus the total is 5252, recorded as 052052.

Source and attribution

The outline and worked methods on this page were prepared for DR.WANG Mathematics.

Original question (external)