Mathematics (JEE)Very hard

A permutation (p₁, p₂, …, p₇) of 1, 2, …, 7 is called alternating if p₁ < p₂ > p₃ < p₄ > p₅ < p₆ > p₇. How many alternating permutations are there?

  1. A. 210
  2. B. 312
  3. C. 136
  4. D. 272

Correct answer: D. 272

These are the Euler zigzag (up–down) numbers: the count of alternating permutations of 7 terms is E₇ = 272.

More Permutations, Combinations and Probability questions

Exams that ask this topic