HOME

TheInfoList



OR:

In
combinatorial Combinatorics is an area of mathematics primarily concerned with counting, both as a means and an end in obtaining results, and certain properties of finite structures. It is closely related to many other areas of mathematics and has many ap ...
mathematics Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, an alternating permutation (or zigzag permutation) of the set is a
permutation In mathematics, a permutation of a set is, loosely speaking, an arrangement of its members into a sequence or linear order, or if the set is already ordered, a rearrangement of its elements. The word "permutation" also refers to the act or pro ...
(arrangement) of those numbers so that each entry is alternately greater or less than the preceding entry. For example, the five alternating permutations of are: * 1, 3, 2, 4        because       1 < 3 > 2 < 4, * 1, 4, 2, 3        because       1 < 4 > 2 < 3, * 2, 3, 1, 4        because       2 < 3 > 1 < 4, * 2, 4, 1, 3        because       2 < 4 > 1 < 3, and * 3, 4, 1, 2        because       3 < 4 > 1 < 2. This type of permutation was first studied by Désiré André in the 19th century. Different authors use the term alternating permutation slightly differently: some require that the second entry in an alternating permutation should be larger than the first (as in the examples above), others require that the alternation should be reversed (so that the second entry is smaller than the first, then the third larger than the second, and so on), while others call both types by the name alternating permutation. The determination of the number ''A''''n'' of alternating permutations of the set is called André's problem. The numbers ''A''''n'' are known as Euler numbers, zigzag numbers, or up/down numbers. When ''n'' is even the number ''A''''n'' is known as a secant number, while if ''n'' is odd it is known as a tangent number. These latter names come from the study of the
generating function In mathematics, a generating function is a way of encoding an infinite sequence of numbers () by treating them as the coefficients of a formal power series. This series is called the generating function of the sequence. Unlike an ordinary serie ...
for the sequence.


Definitions

A
permutation In mathematics, a permutation of a set is, loosely speaking, an arrangement of its members into a sequence or linear order, or if the set is already ordered, a rearrangement of its elements. The word "permutation" also refers to the act or pro ...
is said to be ''alternating'' if its entries alternately rise and descend. Thus, each entry other than the first and the last should be either larger or smaller than both of its neighbors. Some authors use the term alternating to refer only to the "up-down" permutations for which , calling the "down-up" permutations that satisfy by the name ''reverse alternating''. Other authors reverse this convention, or use the word "alternating" to refer to both up-down and down-up permutations. There is a simple
one-to-one correspondence In mathematics, a bijection, also known as a bijective function, one-to-one correspondence, or invertible function, is a function between the elements of two sets, where each element of one set is paired with exactly one element of the other ...
between the down-up and up-down permutations: replacing each entry with reverses the relative order of the entries. By convention, in any naming scheme the unique permutations of length 0 (the permutation of the
empty set In mathematics, the empty set is the unique set having no elements; its size or cardinality (count of elements in a set) is zero. Some axiomatic set theories ensure that the empty set exists by including an axiom of empty set, while in othe ...
) and 1 (the permutation consisting of a single entry 1) are taken to be alternating.


André's theorem

The determination of the number ''A''''n'' of alternating permutations of the set is called ''André's problem''. The numbers ''A''''n'' are variously known as ''Euler numbers'', ''zigzag numbers'', ''up/down numbers'', or by some combinations of these names. The name Euler numbers in particular is sometimes used for a closely related sequence. The first few values of ''A''''n'' are 1, 1, 1, 2, 5, 16, 61, 272, 1385, 7936, 50521, ... . These numbers satisfy a simple recurrence, similar to that of the
Catalan number In combinatorial mathematics, the Catalan numbers are a sequence of natural numbers that occur in various counting problems, often involving recursively defined objects. They are named after the French-Belgian mathematician Eugène Charles Ca ...
s: by splitting the set of alternating permutations (both down-up and up-down) of the set according to the position ''k'' of the largest entry , one can show that : 2A_ = \sum_^n \binom A_k A_ for all . used this recurrence to give a
differential equation In mathematics, a differential equation is an equation that relates one or more unknown functions and their derivatives. In applications, the functions generally represent physical quantities, the derivatives represent their rates of change, ...
satisfied by the exponential generating function : A(x) = \sum_^\infty A_n \frac for the sequence . In fact, the recurrence gives: : 2\sum_ A_ \frac = \sum_ \sum_^n \frac \frac \frac = \int \left(\sum_A_k \frac\right) \left(\sum_A_j \frac\right) \, dx - x where we substitute j = n-k and \frac=\int x^\,dx. This gives the integral equation : 2(A(x) - 1 - x) = \int A(x)^2\,dx - x, which after differentiation becomes 2\frac - 2 = A^2-1. This differential equation can be solved by
separation of variables In mathematics, separation of variables (also known as the Fourier method) is any of several methods for solving ordinary and partial differential equations, in which algebra allows one to rewrite an equation so that each of two variables occurs ...
(using the
initial condition In mathematics and particularly in dynamic systems, an initial condition, in some contexts called a seed value, is a value of an evolving variable at some point in time designated as the initial time (typically denoted ''t'' = 0). Fo ...
A(0)=A_0/0!=1), and simplified using a
tangent half-angle formula In trigonometry, tangent half-angle formulas relate the tangent of half of an angle to trigonometric functions of the entire angle. The tangent of half an angle is the stereographic projection of the circle onto a line. Among these formulas are the ...
, giving the final result : A(x) = \tan \left(\frac\pi4 + \frac x2\right) = \sec x + \tan x, the sum of the secant and
tangent In geometry, the tangent line (or simply tangent) to a plane curve at a given point is the straight line that "just touches" the curve at that point. Leibniz defined it as the line through a pair of infinitely close points on the curve. Mo ...
functions. This result is known as ''André's theorem''. It follows from André's theorem that the
radius of convergence In mathematics, the radius of convergence of a power series is the radius of the largest disk at the center of the series in which the series converges. It is either a non-negative real number or \infty. When it is positive, the power series ...
of the series is /2. This allows one to compute the
asymptotic expansion In mathematics, an asymptotic expansion, asymptotic series or Poincaré expansion (after Henri Poincaré) is a formal series of functions which has the property that truncating the series after a finite number of terms provides an approximation to ...
: A_n \sim 2 \left(\frac\right)^ n!\,.


Related integer sequences

The odd-indexed zigzag numbers (i.e., the tangent numbers) are closely related to Bernoulli numbers. The relation is given by the formula : B_ =(-1)^\frac A_ for ''n'' > 0. If ''Z''''n'' denotes the number of permutations of that are either up-down or down-up (or both, for ''n'' < 2) then it follows from the pairing given above that ''Z''''n'' = 2''A''''n'' for ''n'' ≥ 2. The first few values of ''Z''''n'' are 1, 1, 2, 4, 10, 32, 122, 544, 2770, 15872, 101042, ... . The Euler zigzag numbers are related to Entringer numbers, from which the zigzag numbers may be computed. The Entringer numbers can be defined recursively as follows: : E(0,0) = 1 : E(n,0) = 0 \qquad \mbox n > 0 : E(n,k) = E(n, k-1) + E(n-1, n-k) . The ''n''th zigzag number is equal to the Entringer number ''E''(''n'', ''n''). The numbers ''A''2''n'' with even indices are called secant numbers or zig numbers: since the secant function is
even Even may refer to: General * Even (given name), a Norwegian male personal name * Even (surname) * Even (people), an ethnic group from Siberia and Russian Far East **Even language, a language spoken by the Evens * Odd and Even, a solitaire game wh ...
and tangent is
odd Odd means unpaired, occasional, strange or unusual, or a person who is viewed as eccentric. Odd may also refer to: Acronym * ODD (Text Encoding Initiative) ("One Document Does it all"), an abstracted literate-programming format for describing X ...
, it follows from André's theorem above that they are the numerators in the
Maclaurin series Maclaurin or MacLaurin is a surname. Notable people with the surname include: * Colin Maclaurin (1698–1746), Scottish mathematician * Normand MacLaurin (1835–1914), Australian politician and university administrator * Henry Normand MacLaurin ...
of . The first few values are 1, 1, 5, 61, 1385, 50521, ... . Secant numbers are related to the signed Euler numbers (Taylor coefficients of hyperbolic secant) by the formula ''E''2''n'' = (−1)''n''''A''2''n''. (''E''''n'' = 0 when ''n'' is odd.) Correspondingly, the numbers ''A''2''n''+1 with odd indices are called tangent numbers or zag numbers. The first few values are 1, 2, 16, 272, 7936, ... .


Explicit formula in terms of Stirling numbers of the second kind

The relationships of Euler zigzag numbers with the
Euler numbers In mathematics, the Euler numbers are a sequence ''En'' of integers defined by the Taylor series expansion :\frac = \frac = \sum_^\infty \frac \cdot t^n, where \cosh (t) is the hyperbolic cosine function. The Euler numbers are related to ...
, and the Bernoulli numbers can be used to prove the following : A_=-\frac \sum_^\frac\left(\frac\right)^ where : a_=\begin (-1)^(1+2^) &\mbox \\ (-1)^ & \mbox \end, (x)^=(x)(x+1)\cdots (x+n-1) denotes the
rising factorial In mathematics, the falling factorial (sometimes called the descending factorial, falling sequential product, or lower factorial) is defined as the polynomial :\begin (x)_n = x^\underline &= \overbrace^ \\ &= \prod_^n(x-k+1) = \prod_^(x-k) \,. \e ...
, and S(r,k) denotes
Stirling numbers of the second kind In mathematics, particularly in combinatorics, a Stirling number of the second kind (or Stirling partition number) is the number of ways to partition a set of ''n'' objects into ''k'' non-empty subsets and is denoted by S(n,k) or \textstyle \lef ...
.


See also

*
Longest alternating subsequence In combinatorial mathematics, probability, and computer science, in the longest alternating subsequence problem, one wants to find a subsequence of a given sequence in which the elements are in alternating order, and in which the sequence is as lon ...
* Boustrophedon transform * Fence (mathematics), a
partially ordered set In mathematics, especially order theory, a partially ordered set (also poset) formalizes and generalizes the intuitive concept of an ordering, sequencing, or arrangement of the elements of a set. A poset consists of a set together with a binary ...
that has alternating permutations as its linear extensions


Citations


References

*. *. * . *


External links

* {{MathWorld , title=Alternating Permutation, urlname=AlternatingPermutation
Ross Tang, "An Explicit Formula for the Euler zigzag numbers (Up/down numbers) from power series"
A simple explicit formula for ''A''''n''.
"A Survey of Alternating Permutations"
a preprint by Richard P. Stanley Permutations Enumerative combinatorics