Maths Olympiad Prep

Library / /40 of 48

Combinatorics Difficulty 5.1 AIME, harder Prove it United States

Problem:

Count the number of permutations a1a2a7a_{1} a_{2} \ldots a_{7} of 12345671234567 with longest decreasing subsequence of length at most two (i.e. there does not exist i<j<ki<j<k such that ai>aj>aka_{i}>a_{j}>a_{k} ).

Solution

Solution:

C(7)=429C(7) = 429.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.