A permutation of the numbers is called almost-sorted if there exists exactly one such that . What is the number of almost-sorted permutations of the numbers ?
Question 6 of 11 · BDMO 2020 National · Secondary
CombinatoricsThis question has no short answer. Try it yourself, then compare with the solution.