Euler Zigzag Numbers

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

An alternating permutation is one in which the difference between each successive pair of adjacent elements changes sign—this is, each "rise" is followed by a "fall", and vice versa. For example, the permutation {1324} is an alternating permutation.


The number of alternating permutations on elements is sometimes called the Euler zigzag number.

Flipping the image upside-down with the "flip" control toggles between the alternating permutations that begin with a rise and those that begin with a fall.


Contributed by: Robert Dickau (March 2008)
Open content licensed under CC BY-NC-SA




Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.