Eulerian number explained

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.

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

style\left\langle{n\atopk}\right\rangle

.

Definition

The Eulerian polynomials

An(t)

are defined by the exponential generating function
infty
\sum
n=0

An(t)

xn
n!

=

t-1
t-e(t-1)x

.

The Eulerian numbers

A(n,k)

may be defined as the coefficients of the Eulerian polynomials:

An(t)=

n
\sum
k=0

A(n,k)tk.

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

k
A(n,k)=\sum
i=0

(-1)i\binom{n+1}{i}(k+1-i)n.

Basic properties

{\tbinomn0}=1

for all

n

, A(n, 0) = 1. This formally includes the empty collection of numbers, n=0. And so A_0(t)=A_1(t)=1.

n

that reads 0, 0, 1, 4, 11, 26, 57, \dots.

1

.

1

.

An(t)

are really of degree n-1 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) for 0 \le n \le 9 are:

012345678
01
11
21 1
31 4 1
41 11 11 1
51 26 66 26 1
61 57 302 302 57 1
71 120 1191 2416 1191 120 1
81 247 4293 15619 15619 4293 247 1
91 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

A(n,k)=(n-k)A(n-1,k-1)+(k+1)A(n-1,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

nkPermutationsA(n, k)
10(1)A(1,0) = 1
20(2, 1)A(2,0) = 1
1(1, 2)A(2,1) = 1
30(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)=(4-1)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)=An-1'(t)t(1-t)+An-1(t)(1+(n-1)t),forn>1.

The second formula can be cast into an inductive form,

An(t)=

n-1
\sum
k=0

\binom{n}{k}Ak(t)(t-1)n-1-k,forn>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.
n-1
\sum
k=0

A(n,k)=n!,forn>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\colonRC

integrable on the interval

(0,n)

[2]
n-1
\sum
k=0

A(n,k)f(k)=

1
n!\int
0

1
\int
0

f\left(\left\lfloorx1++xn\right\rfloor\right){d}x1{d}xn

Worpitzky's identity[3] expresses x^n as the linear combination of Eulerian numbers with binomial coefficients:
n-1
\sum
k=0

A(n,k)\binom{x+k}{n}=xn.

From it, it follows that
m
\sum
k=1
n-1
k
k=0

A(n,k)\binom{m+k+1}{n+1}.

Formulas involving alternating sums

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

n-1
\sum
k=0

(-1)kA(n,k)=2n+1(2n+1-1)

Bn+1
n+1

,forn>0.

Furthermore,
n-1
\sum
k=0

(-1)k

A(n,k)
\binom{n-1

{k}}=0,forn>1

and
n-1
\sum
k=0

(-1)k

A(n,k)
\binom{n

{k}}=(n+1)Bn,forn>1

Formulas involving the polynomials

The symmetry property implies:

An(t)=tn-1

-1
A
n(t

)

The Eulerian numbers are involved in the generating function for the sequence of nth powers:
infty
\sum
i=1

inxi=

1
(1-x)n+1
n
\sum
k=0

A(n,k)xk+1=

x
(1-x)n+1

An(x)

An explicit expression for Eulerian polynomials is [4]

An(t)=

n
\sum
k=0

\left\{{n\atopk}\right\}k!(t-1)n-k

Where \left\ is the Stirling numbers of the second kind.

Eulerian numbers of the second order

The permutations of the multiset \ 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 (2n-1)!!. The Eulerian number of the second order, denoted

\scriptstyle\left\langle\left\langle{n\atopm}\right\rangle\right\rangle

, counts the number of all such 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:

\left\langle\left\langle{n\atopk}\right\rangle\right\rangle=(2n-k-1)\left\langle\left\langle{n-1\atopk-1}\right\rangle\right\rangle+(k+1)\left\langle\left\langle{n-1\atopk}\right\rangle\right\rangle,

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

\left\langle\left\langle{0\atopk}\right\rangle\right\rangle=[k=0].

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

Pn(x):=

n
\sum
k=0

\left\langle\left\langle{n\atopk}\right\rangle\right\ranglexk

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

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

\prime(x)
P
n
with initial condition

P0(x)=1.

. The latter recurrence may be written in a somewhat more compact form by means of an integrating factor:

(x-1)-2n-2Pn+1(x)=\left(x(1-x)-2n-1Pn(x)\right)\prime

so that the rational function

un(x):=(x-1)-2nPn(x)

satisfies a simple autonomous recurrence:

un+1=\left(

x
1-x

un\right)\prime,u0=1

Whence one obtains the Eulerian polynomials of second order as P_n(x) = (1-x)^ u_n(x), and the Eulerian numbers of second order as their coefficients.

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

012345678
01
11
21 2
31 8 6
41 22 58 24
51 52 328 444 120
61 114 1452 4400 3708 720
71 240 5610 32120 58140 33984 5040
81 494 19950 195800 644020 785304 341136 40320
91 1004 67260 1062500 5765500 12440064 11026296 3733920 362880
The sum of the n-th row, which is also the value P_n(1), is (2n-1)!!.

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

References

External links

Notes and References

  1. (L. Comtet 1974, p. 243)
  2. Exercise 6.65 in Concrete Mathematics by Graham, Knuth and Patashnik.
  3. Worpitzky . J. . Studien über die Bernoullischen und Eulerschen Zahlen . Journal für die reine und angewandte Mathematik . 1883 . 94 . 203–232 .
  4. Qi . Feng . Guo . Bai-Ni . 2017-08-01 . Explicit formulas and recurrence relations for higher order Eulerian polynomials . Indagationes Mathematicae . 28 . 4 . 884–891 . 10.1016/j.indag.2017.06.010 . 0019-3577. free .