Mathematics (JEE)HardGATE CS

How many permutations of {1, 2, ..., 7} have exactly one descent, that is, exactly one position i with p(i) > p(i+1)?

  1. A. 720
  2. B. 240
  3. C. 127
  4. D. 120

Correct answer: D. 120

This is the Eulerian number A(7,1) = 2^7 - 7 - 1 = 120, since A(n,1) = 2^n - n - 1 for n = 7 gives 128 - 8 = 120.

More Permutations, Combinations and Probability questions

Exams that ask this topic