. "In combinatorial mathematics, an alternating permutation of the set {1, 2, 3, ..., n} is an arrangement of those numbers into an order c1, ..., cn such that no element ci is between ci \u2212 1 and ci + 1 for any value of i and c1< c2. In other words, ci < ci+ 1 if i is odd and ci > ci+ 1 if i is even."@en .