Alternating-permutation convolution Created 2026-09-24 Updated 2026-11-05
Let count alternating permutations on labels, with . For ,
Count both up-down and down-up permutations of labels. Choose the labels left of the maximum in ways. On either side, the comparison next to the maximum fixes which alternating direction is required, giving choices. Conversely these choices reconstruct exactly one of the two kinds of alternating permutations. Replacing each label by interchanges the two kinds, so their combined count is .
For , the identity reads . The restriction matters: on one label, the two alternating conventions describe the same permutation, and substitution of would incorrectly give .
Entringer number Created 2026-10-20 Updated 2026-11-05
With the convention used here, counts the alternating permutations of satisfying
The direction of the first comparison and the shift in the first-entry index are essential when comparing tables. The recurrence relation is
Hence the first rows in increasing are , , and . For , the two alternating permutations are and , explaining the two nonzero entries. The row sum counts all alternating permutations on labels; the last entry counts those on labels. Reversed-row prefix sums compute the Entringer triangle without enumerating the permutations individually.[ref]