MathDB
How many permutations are sorted ?

Source:

October 5, 2010
combinatorics unsolvedcombinatorics

Problem Statement

How many permutations a1,a2,,ana_1, a_2, \ldots, a_n of {1,2,...,n}\{1, 2, . . ., n \} are sorted into increasing order by at most three repetitions of the following operation: Move from left to right and interchange aia_i and ai+1a_{i+1} whenever ai>ai+1a_i > a_{i+1} for ii running from 11 up to n1 ?n - 1 \ ?