MathDB
Results on n students with distinct heights

Source: CMI 2023 B4

May 9, 2023
combinatoricsCMI

Problem Statement

In a class there are n students with unequal heights. <spanclass=latexbold>(a)</span><span class='latex-bold'>(a)</span> Find the number of orderings of the students such that the shortest person is not at the front and the tallest person is not at the end. <spanclass=latexbold>(b)</span><span class='latex-bold'>(b)</span> Define the badness of an ordering as the maximum number kk such that there are kk many people with height greater than in front of a person. For example: the sequence 66,61,65,64,62,7066, 61, 65, 64, 62, 70 has badness 33 since there are 33 numbers greater than 6262 in front of it. Let fk(n)f_k(n) denote the number of orderings of nn with badness kk. Find fk(n)f_k(n). (Hint: Consider gk(n)g_k(n) as the number of orderings of n with badness less than or equal to kk)