AIME 2015 II · 第 10 题
AIME 2015 II — Problem 10
题目详情
Problem
Call a permutation of the integers quasi-increasing if for each . For example, 53421 and 14253 are quasi-increasing permutations of the integers , but 45123 is not. Find the number of quasi-increasing permutations of the integers .
解析
Solution
The simple recurrence can be found.
When inserting an integer into a string with integers, we notice that the integer has 3 spots where it can go: before , before , and at the very end.
Ex. Inserting 4 into the string 123: 4 can go before the 2 (1423), before the 3 (1243), and at the very end (1234).
Only the addition of the next number, , will change anything.
Thus the number of permutations with elements is three times the number of permutations with elements.
Start with since all permutations work. And go up: .
Thus for there are permutations.
When you are faced with a brain-fazing equation and combinatorics is part of the problem, use recursion! This same idea appeared on another AIME with an 8-box problem.