2020 AIME I Problem 5
Problem 5 of 15EasierCombinatoricsProblem-Solving Techniques
Six cards numbered through are to be lined up in a row. Find the number of arrangements of these six cards where one of the cards can be removed leaving the remaining five cards in either ascending or descending order.
Your answer
Integer from 0 to 999
Show solution
Solution
First count arrangements from which some card’s removal leaves the rest ascending. Any such arrangement arises by choosing the card to remove ( ways) and inserting it into one of the gaps of the other five cards written in increasing order, for constructions. But the fully sorted row arises from all card choices, and each of the arrangements obtained by swapping two adjacent cards of the sorted row arises twice (move either card of the pair past the other). Every other construction gives a distinct arrangement.
So the ascending count is and by symmetry there are descending arrangements. No arrangement is counted in both totals: that would require an ascending and a descending subsequence of five cards, needing at least cards.
The total is
Tagged: permutations · arrangements with restrictions · casework