Eulerian number

From HandWiki
Short description: Polynomial sequence

In combinatorics, the Eulerian number A(n,k) is the number of permutations of the numbers 1 to n in which exactly k elements are greater than the previous element (permutations with k "ascents").

Leonhard Euler investigated them and associated polynomials in his 1755 book Institutiones calculi differentialis. He first studied them in 1749 (though first printed in 1768).[1]

The polynomials presently known as Eulerian polynomials in Euler's work from 1755, Institutiones calculi differentialis, part 2, p. 485/6. The coefficients of these polynomials are known as Eulerian numbers.

Other notations for A(n,k) are E(n,k) and nk.

Definition

The Eulerian polynomials An(t) are defined by the exponential generating function

n=0An(t)xnn!=t1te(t1)x=(1e(t1)x1t1)1.

The Eulerian numbers A(n,k) may also be defined as the coefficients of the Eulerian polynomials:

An(t)=k=0nA(n,k)tk.

An explicit formula for A(n,k) is[2]

A plot of the Eulerian numbers with the second argument fixed to 5.
A plot of the Eulerian numbers with the second argument fixed to 5.
A(n,k)=i=0k(1)i(n+1i)(k+1i)n.

Basic properties

  • For fixed n there is a single permutation which has 0 ascents: (n,n1,n2,,1). Indeed, as (n0)=1 for all n, A(n,0)=1. This formally includes the empty collection of numbers, n=0. And so A0(t)=A1(t)=1.
  • For k=1 the explicit formula implies A(n,1)=2n(n+1), a sequence in n that reads 0,0,1,4,11,26,57,.
  • Fully reversing a permutation with k ascents creates another permutation in which there are nk1 ascents. Therefore A(n,k)=A(n,nk1). So there is also a single permutation which has n1 ascents, namely the rising permutation (1,2,,n). So also A(n,n1) equals 1.
  • Since a permutation of the numbers 1 to n which has k ascents must have n1k descents, the symmetry A(n,k)=A(n,nk1) shows that A(n,k) also counts the number of permutations with k descents.
  • For kn>0, the values are formally zero, meaning many sums over k can be written with an upper index only up to n1. It also means that the polynomials An(t) are really of degree n1 for n>0.

A tabulation of the numbers in a triangular array is called the Euler triangle or Euler's triangle. It shares some common characteristics with Pascal's triangle. Values of A(n,k) (sequence A008292 in the OEIS) for 0n9 are:

 k
n 
0 1 2 3 4 5 6 7 8
0 1
1 1
2 1 1
3 1 4 1
4 1 11 11 1
5 1 26 66 26 1
6 1 57 302 302 57 1
7 1 120 1191 2416 1191 120 1
8 1 247 4293 15619 15619 4293 247 1
9 1 502 14608 88234 156190 88234 14608 502 1

Computation

For larger values of n, A(n,k) can also be calculated using the recursive formula[3]

A(n,k)=(nk)A(n1,k1)+(k+1)A(n1,k).

This formula can be motivated from the combinatorial definition and thus serves as a natural starting point for the theory.

For small values of n and k, the values of A(n,k) can be calculated by hand. For example

n k Permutations A(n, k)
1 0 (1) A(1,0) = 1
2 0 (2, 1) A(2,0) = 1
1 (1, 2) A(2,1) = 1
3 0 (3, 2, 1) A(3,0) = 1
1 (1, 3, 2), (2, 1, 3), (2, 3, 1) and (3, 1, 2) A(3,1) = 4
2 (1, 2, 3) A(3,2) = 1

Applying the recurrence to one example, we may find

A(4,1)=(41)A(3,0)+(1+1)A(3,1)=31+24=11.

Likewise, the Eulerian polynomials can be computed by the recurrence

A0(t)=1,
An(t)=An1(t)t(1t)+An1(t)(1+(n1)t), for n>1.

The second formula can be cast into an inductive form,

An(t)=k=0n1(nk)Ak(t)(t1)n1k, for n>1.

Identities

For any property partitioning a finite set into finitely many smaller sets, the sum of the cardinalities of the smaller sets equals the cardinality of the bigger set. The Eulerian numbers partition the permutations of n elements, so their sum equals the factorial n!. I.e.

k=0n1A(n,k)=n!, for n>0.

as well as A(0,0)=0!. To avoid conflict with the empty sum convention, it is convenient to simply state the theorems for n>0 only.

Much more generally, for a fixed function f: integrable on the interval (0,n)[4]

k=0n1A(n,k)f(k)=n!0101f(x1++xn)dx1dxn

Worpitzky's identity[5] expresses xn as the linear combination of Eulerian numbers with binomial coefficients:

k=0n1A(n,k)(x+kn)=xn.

From this, it follows that

k=1mkn=k=0n1A(n,k)(m+k+1n+1).

They appear as the coefficients of the polylogarithm.Lin(z)=1(1z)n+1k=0n1nkznk(n=1,2,3,),

Formulas involving alternating sums

The alternating sum of the Eulerian numbers for a fixed value of n is related to the Bernoulli number Bn+1

k=0n1(1)kA(n,k)=2n+1(2n+11)Bn+1n+1, for n>0.

Furthermore,

k=0n1(1)kA(n,k)(n1k)=0, for n>1

and

k=0n1(1)kA(n,k)(nk)=(n+1)Bn, for n>1

Formulas involving the polynomials

The symmetry property implies:

An(t)=tn1An(t1)

The Eulerian numbers are involved in the generating function for the sequence of nth powers:

i=1inxi=1(1x)n+1k=0nA(n,k)xk+1=x(1x)n+1An(x)

An explicit expression for Eulerian polynomials is[6]

An(t)=k=0n{nk}k!(t1)nk

where {nk} is the Stirling number of the second kind.

Geometric interpretations

The Eulerian numbers have two important geometric interpretations involving convex polytopes.

First of all, the identity

i=0(i+1)nxi=1(1x)n+1k=0nA(n,k)xk

implies that the Eulerian numbers form the h-vector of the standard n-dimensional hypercube, which is the convex hull of all 0,1-vectors in n.

Secondly, the identity An(t)=k=0n{nk}k!(t1)nk means that the Eulerian numbers also form the h-vector of the simple polytope which is dual to the n-dimensional permutohedron, which is the convex hull of all permutations of the vector (1,2,,n) in n.

In fact, as explained by Richard Stanley in an answer to a MathOverflow question, these two geometric guises of the Eulerian numbers are closely linked.

Type B Eulerian numbers

The hyperoctahedral group of order n is the group of all signed permutations of the numbers 1 to n, meaning bijections π from the set {n,n+1,,1,1,2,,n} to itself with the property that π(i)=π(i) for all i. Just as the symmetric group of order n (i.e., the group of all permutations of the numbers 1 to n) is the Coxeter group of Type An1, the hyperoctahedral group of order n is the Coxeter group of Type Bn.

Given an element π of the hyperoctahedral group of order n a Type B descent of π is an index i{0,1,,n1} for which π(i)>π(i1), with the convention that π(0)=0. The Type B Eulerian number B(n,k) is the number of elements of the hyperoctahedral group of order n with exactly k descents; see Chow and Gessel[7].

The table of B(n,k) (sequence A060187 in the OEIS) is

 k
n 
0 1 2 3 4 5
0 1
1 1 1
2 1 6 1
3 1 23 23 1
4 1 76 230 76 1
5 1 237 1682 1682 237 1

The corresponding polynomials Mn(x)=k=0nB(n,k)xk are called midpoint Eulerian polynomials because of their use in interpolation and spline theory; see Schoenberg[8].

The Type B Eulerian numbers and polynomials satisfy many similar identities, and have many similar properties, as the Type A, i.e., usual, Eulerian numbers and polynomials. For example, for any n1,

i=0(2i+1)nxi=Mn(x)(1x)n+1.

And the Type B Eulerian numbers give the h-vector of the simple polytope dual to the Type B permutohedron.

In fact, one can define Eulerian numbers for any finite Coxeter group with analogous properties: see part III of the textbook of Petersen in the references.

Eulerian numbers of the second order

The permutations of the multiset {1,1,2,2,,n,n} which have the property that for each k, all the numbers appearing between the two occurrences of k in the permutation are greater than k are counted by the double factorial number (2n1)!!. These are called Stirling permutations.

The Eulerian number of the second order, denoted nm, counts the number of all such Stirling permutations that have exactly m ascents. For instance, for n = 3 there are 15 such permutations, 1 with no ascents, 8 with a single ascent, and 6 with two ascents:

332211,
221133, 221331, 223311, 233211, 113322, 133221, 331122, 331221,
112233, 122133, 112332, 123321, 133122, 122331.

The Eulerian numbers of the second order satisfy the recurrence relation, that follows directly from the above definition:

nk=(2nk1)n1k1+(k+1)n1k,

with initial condition for n = 0, expressed in Iverson bracket notation:

0k=[k=0].

Correspondingly, the Eulerian polynomial of second order, here denoted Pn (no standard notation exists for them) are

Pn(x):=k=0nnkxk

and the above recurrence relations are translated into a recurrence relation for the sequence Pn(x):

Pn+1(x)=(2nx+1)Pn(x)x(x1)Pn(x)

with initial condition P0(x)=1. The latter recurrence may be written in a somewhat more compact form by means of an integrating factor:

(x1)2n2Pn+1(x)=(x(1x)2n1Pn(x))

so that the rational function

un(x):=(x1)2nPn(x)

satisfies a simple autonomous recurrence:

un+1=(x1xun),u0=1

Whence one obtains the Eulerian polynomials of second order as Pn(x)=(1x)2nun(x), and the Eulerian numbers of second order as their coefficients.

The Eulerian polynomials of the second order satisfy an identity analogous to the identity

i=1inxi=xAn(x)(1x)n+1

satisfied by the usual Eulerian polynomials. Specifically, as proved by Gessel and Stanley[9], they satisfy the identity

m=0{n+mm}xm=xPn(x)(1x)2n+1

where again the {nk} denote the Stirling numbers of the second kind. (This appearance of the Stirling numbers explains the terminology "Stirling permutations.")

The following table displays the first few second-order Eulerian numbers:

 k
n 
0 1 2 3 4 5 6 7 8
0 1
1 1
2 1 2
3 1 8 6
4 1 22 58 24
5 1 52 328 444 120
6 1 114 1452 4400 3708 720
7 1 240 5610 32120 58140 33984 5040
8 1 494 19950 195800 644020 785304 341136 40320
9 1 1004 67260 1062500 5765500 12440064 11026296 3733920 362880

The sum of the n-th row, which is also the value Pn(1), is (2n1)!!.

Indexing the second-order Eulerian numbers comes in three flavors:

  • (sequence A008517 in the OEIS) following Riordan and Comtet,
  • (sequence A201637 in the OEIS) following Graham, Knuth, and Patashnik,
  • (sequence A340556 in the OEIS), extending the definition of Gessel and Stanley.

References

  • Eulerus, Leonardus [Leonhard Euler] (1755). Institutiones calculi differentialis cum eius usu in analysi finitorum ac doctrina serierum [Foundations of differential calculus, with applications to finite analysis and series]. Academia imperialis scientiarum Petropolitana; Berolini: Officina Michaelis.
  • Carlitz, L. (1959). "Eulerian Numbers and polynomials". Math. Mag. 32 (5): 247–260. doi:10.2307/3029225. 
  • Gould, H. W. (1978). "Evaluation of sums of convolved powers using Stirling and Eulerian Numbers". Fib. Quart. 16 (6): 488–497. doi:10.1080/00150517.1978.12430271. https://www.fq.math.ca/16-6.html. 
  • Desarmenien, Jacques; Foata, Dominique (1992). "The signed Eulerian numbers". Discrete Math. 99 (1–3): 49–58. doi:10.1016/0012-365X(92)90364-L. 
  • Lesieur, Leonce; Nicolas, Jean-Louis (1992). "On the Eulerian Numbers M=max (A(n,k))". Europ. J. Combinat. 13 (5): 379–399. doi:10.1016/S0195-6698(05)80018-6. 
  • Butzer, P. L.; Hauss, M. (1993). "Eulerian numbers with fractional order parameters". Aequationes Mathematicae 46 (1–2): 119–142. doi:10.1007/bf01834003. http://resolver.sub.uni-goettingen.de/purl?GDZPPN002610515. 
  • Koutras, M.V. (1994). "Eulerian numbers associated with sequences of polynomials". Fib. Quart. 32 (1): 44–57. doi:10.1080/00150517.1994.12429255. https://www.fq.math.ca/32-1.html. 
  • Graham; Knuth; Patashnik (1994). Concrete Mathematics: A Foundation for Computer Science (2nd ed.). Addison-Wesley. pp. 267–272. 
  • Hsu, Leetsch C.; Jau-Shyong Shiue, Peter (1999). "On certain summation problems and generalizations of Eulerian polynomials and numbers". Discrete Math. 204 (1–3): 237–247. doi:10.1016/S0012-365X(98)00379-3. 
  • Boyadzhiev, Khristo N. (2007). "Apostol-Bernoulli functions, derivative polynomials and Eulerian polynomials". arXiv:0710.1124 [math.CA].
  • Petersen, T. Kyle (2015). "Eulerian numbers". Eulerian Numbers. Birkhäuser Advanced Texts Basler Lehrbücher. Birkhäuser. pp. 3–18. doi:10.1007/978-1-4939-3091-3_1. ISBN 978-1-4939-3090-6. 

Citations

  1. Euler, Leonhard (1768-01-01). "Remarques sur un beau rapport entre les séries des puissances tant directes que réciproques". Mémoires de l'académie des sciences de Berlin: 83–106. https://scholarlycommons.pacific.edu/euler-works/352. 
  2. (L. Comtet 1974, p. 243)
  3. Comtet, Louis. Advanced Combinatorics. p. 51. https://ia801306.us.archive.org/27/items/Comtet_Louis_-_Advanced_Coatorics/Comtet_Louis_-_Advanced_Combinatorics.pdf. 
  4. Exercise 6.65 in Concrete Mathematics by Graham, Knuth and Patashnik.
  5. Worpitzky, J. (1883). "Studien über die Bernoullischen und Eulerschen Zahlen". Journal für die reine und angewandte Mathematik 94: 203–232. https://eudml.org/doc/148532. 
  6. Qi, Feng; Guo, Bai-Ni (2017-08-01). "Explicit formulas and recurrence relations for higher order Eulerian polynomials". Indagationes Mathematicae 28 (4): 884–891. doi:10.1016/j.indag.2017.06.010. ISSN 0019-3577. 
  7. Chow, Chak-On; Gessel, Ira M. (March 2007). "On the descent numbers and major indices for the hyperoctahedral group". Advances in Applied Mathematics 38 (3): 275–301. doi:10.1016/j.aam.2006.07.003. 
  8. Schoenberg, I. J. (1972). "Cardinal Interpolation and Spline Functions IV. The Exponential Euler Splines". Linear Operators and Approximation / Lineare Operatoren und Approximation: 382–404. doi:10.1007/978-3-0348-7283-6_34. ISBN 978-3-0348-7285-0. 
  9. Gessel, Ira; Stanley, Richard P (1 January 1978). "Stirling polynomials". Journal of Combinatorial Theory, Series A 24 (1): 24–33. doi:10.1016/0097-3165(78)90042-0.