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]