Keywords

These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

The first interesting array of numbers a typical mathematics student encounters is Pascal’s triangle, shown in Table 1.1. It has many beautiful properties, some of which we will review shortly. One of the main points of this chapter is to argue that the array of Eulerian numbers is just as interesting as Pascal’s triangle.

1 Binomial coefficients

It is likely that a reader of this book is already familiar with binomial coefficients, but we will review this material to establish our point of view for future material. The approach we will take is to define \(\binom{n}{k}\) to be a combinatorial quantity: namely, the number of k-element subsets of an n-element set. Therefore \(\binom{n}{k} = 0\) if n < 0, k < 0, or k > n. (And if we aren’t clear what a set with a nonintegral number of elements is, we should probably set \(\binom{n}{k} = 0\) unless k and n are integers.) It is immediate from this definition that these numbers have the following symmetry:

$$\displaystyle{\binom{n}{k} = \binom{n}{n - k},}$$

by the fact that a subset of an n-element set and its complement are in bijection. Further, by considering the fact that a k-element subset S of {1, 2, , n} either has:

  • n ∈ S, in which case S −{ n} is a (k − 1)-element subset of {1, 2, , n − 1}, or

  • \(n\notin S\), in which case S itself is a k-element subset of {1, 2, , n − 1},

we get Pascal’s recurrence.

Theorem 1.1 (Pascal’s recurrence).

For any n ≥ 1, k ≥ 0,

$$\displaystyle{\binom{n}{k} = \binom{n - 1}{k - 1} + \binom{n - 1}{k}.}$$

We can get an explicit formula for \(\binom{n}{k}\) by counting orderings of k-element subsets two different ways. On the one hand, we can choose a k-element subset in \(\binom{n}{k}\) ways, then order the elements in k! ways. On the other hand, we can order k of n things in

$$\displaystyle{n(n - 1)\cdots (n - k + 1) = \frac{n!} {(n - k)!}}$$

ways, since we have n choices for the first element, n − 1 choices for the second, and so on. We get

$$\displaystyle{k!\binom{n}{k} = \frac{n!} {(n - k)!},}$$

or

$$\displaystyle{\binom{n}{k} = \frac{n!} {k!(n - k)!}.}$$

We call the numbers \(\binom{n}{k}\) binomial coefficients because of the following theorem.

Theorem 1.2 (Binomial theorem).

For n ≥ 0,

$$\displaystyle{ (x + y)^{n} =\sum _{ k=0}^{n}\binom{n}{k}x^{k}y^{n-k}. }$$
(1.1)

This famous result can be proved by induction using Pascal’s recurrence, but a combinatorial argument can be given by counting subsets of {1, 2, , n} according to cardinality. On the left-hand side, we consider each of the numbers i in {1, 2, , n} independently as being members of a subset S (with weight x) or not (with weight y), so that

$$\displaystyle{(x + y)^{n} =\sum _{ S\subseteq \{1,2,\ldots,n\}}x^{\vert S\vert }y^{n-\vert S\vert }.}$$

On the right-hand side, we see the coefficient of x k y nk is the number of k-element subsets, or \(\binom{n}{k}\).

We can think of the binomial theorem as giving combinatorial meaning to an algebraic quantity, or we can think of the binomial theorem as a way of encoding combinatorial information algebraically. This idea is elaborated upon in the next section.

2 Generating functions

A generating function is an algebraic tool for encoding combinatorial data. For a sequence of numbers a 0, a 1,  the ordinary generating function is the series

$$\displaystyle{\sum _{k\geq 0}a_{k}t^{k} = a_{ 0} + a_{1}t + a_{2}t^{2} + \cdots + a_{ k}t^{k} + \cdots \,,}$$

while the exponential generating function is the series

$$\displaystyle{\sum _{k\geq 0}a_{k}\frac{t^{k}} {k!} = a_{0} + a_{1}t + a_{2}\frac{t^{2}} {2} + a_{3}\frac{t^{3}} {6} + \cdots \,.}$$

For example, the geometric series

$$\displaystyle{ \frac{1} {1 - t} = 1 + t + t^{2} + \cdots \,, }$$
(1.2)

can be considered the generating function for the sequence 1, 1, 1, , while

$$\displaystyle{e^{t} = 1 + t + \frac{t^{2}} {2} + \frac{t^{3}} {6} + \cdots \,,}$$

is its exponential generating function.

Generating functions can encode finite sequences as well. For example, the binomial theorem tells us for fixed n, (1 + t)n is the ordinary generating function for the binomial coefficients \(\binom{n}{k}\).

While we think of generating functions as algebraic encodings of combinatorial data (a “clothesline on which the sequence hangs,” in Herbert Wilf’s words [166]), we can also manipulate generating functions as analytic functions. For example, if we differentiate Equation (1.2) n times, we get

$$\displaystyle{ \frac{n!} {(1 - t)^{n+1}} =\sum _{k\geq 0}k(k - 1)\cdots (k - n + 1)t^{k-n},}$$

and so after dividing by n! we have another generating function for the binomial coefficients, this time taken column-wise in Pascal’s triangle (Table 1.1):

$$\displaystyle{ \frac{t^{i}} {(1 - t)^{n+1}} =\sum _{k\geq 0}\binom{k + n - i}{n}t^{k}. }$$
(1.3)

3 Classical Eulerian numbers

Let us now meet the Eulerian numbers. As with binomial coefficients, our starting point is a combinatorial definition.

For a given positive integer n, the symmetric group S n is the set of all permutations of [n]: = { 1, 2, , n}, i.e., bijections w: [n] → [n]. We will usually write permutations in one-line notation: w = w(1)w(2)⋯w(n), so a typical element of S 7 is w = 3125647.

For any permutation w ∈ S n , we define a descent to be a position i such that w(i) > w(i + 1), and we denote by \(\mathop{\mathrm{Des}}\nolimits (w)\) the set of descents of w,

$$\displaystyle{\mathop{\mathrm{Des}}\nolimits (w) =\{ i: w(i) > w(i + 1)\}.}$$

We let \(\mathop{\mathrm{des}}\nolimits (w)\) denote the number of descents of w, i.e.,

$$\displaystyle{ \mathop{\mathrm{des}}\nolimits (w) = \vert \mathop{\mathrm{Des}}\nolimits (w)\vert = \vert \{i: w(i) > w(i + 1)\}\vert. }$$
(1.4)

For example, if w = 3125647, then there are descents in position 1 (since 3 > 1) and in position 5 (since 6 > 4). Hence, \(\mathop{\mathrm{des}}\nolimits (w) = 2\). The permutation 12⋯n is the only permutation with no descents, while its reversal, n⋯21, has the maximal number, with n − 1.

We define the Eulerian numbers, denoted \({n\abovewithdelims\langle \rangle 0.0pt k}\), to be the number of permutations in S n with k descents, i.e.,

$$\displaystyle{{ n\abovewithdelims\langle \rangle 0.0pt k} = \vert \{w \in S_{n}:\mathop{ \mathrm{des}}\nolimits (w) = k\}\vert. }$$
(1.5)

For example, we see from Table 1.2 there are 11 permutations in S 4 with two descents. Hence, \({4\abovewithdelims\langle \rangle 0.0pt 2} = 11\).

Table 1.2 The permutations in S 4 grouped according to descent number.

Table 1.3 shows the Eulerian numbers \({n\abovewithdelims\langle \rangle 0.0pt k}\), with 1 ≤ k ≤ n ≤ 10. The reader should be careful not to confuse the triangle of Eulerian numbers with the sequence of Euler numbers: 1, 1, 2, 5, 16, 61, 272, 1385, 7936, , though there is a connection. See the discussion at the end of Section 4.2 and Problem 4.2.

Table 1.3 The Eulerian numbers \({n\abovewithdelims\langle \rangle 0.0pt k}\), 0 ≤ k < n ≤ 10.

The function

$$\displaystyle{\mathop{\mathrm{des}}\nolimits:\bigcup _{n\geq 1}S_{n} \rightarrow \{ 0,1,2,3,\ldots \}}$$

is an example of a permutation statistic, a function from the set of permutations to the integers. Other well-known permutation statistics include the number of inversions (discussed in Section 5.1) and the number of cycles. When we count permutations according to a particular permutation statistic, this gives rise to the distribution of the statistic. Any statistic whose distribution gives the numbers \({n\abovewithdelims\langle \rangle 0.0pt k}\) is called an Eulerian statistic.

Besides \(\mathop{\mathrm{des}}\nolimits\), there are many other Eulerian permutation statistics. For example, it is easy to see the equivalence of \(\mathop{\mathrm{des}}\nolimits\) and the number of ascents defined by

$$\displaystyle{\mathop{\mathrm{asc}}\nolimits (w) = \vert \{i: w(i) < w(i + 1)\}\vert = \vert [n - 1] -\mathop{\mathrm{Des}}\nolimits (w)\vert.}$$

However, proving that two statistics are equidistributed is not always so easy. For example, the number of excedances of a permutation, defined as

$$\displaystyle{ \mathop{\mathrm{exc}}\nolimits (w) = \vert \{i: w(i) > i\}\vert, }$$
(1.6)

is an Eulerian statistic. While \(\mathop{\mathrm{exc}}\nolimits\) ranges from 0 to n − 1, its relationship with \(\mathop{\mathrm{des}}\nolimits\) is disguised. But this disguise can be lifted with a bijection from S n to itself that maps descents to excedances, known as the “transformation fondamentale” of Dominique Foata and Marcel-Paul Schützenberger [70]. The reader is invited to study this bijection, along with other manifestations of the Eulerian numbers, in the problems at the end of the chapter. For now, we will stick to the definition of Eulerian numbers in terms of \(\mathop{\mathrm{des}}\nolimits\).

We can use the descent definition of Eulerian numbers to prove a Pascal-like linear recurrence as follows. Notice that if w is in S n with k descents, then deleting n from w results in a permutation in S n−1 with k or k − 1 descents. Conversely, we can form permutations of n with k descents from permutations of n − 1 with k or k − 1 descents by inserting n.

To be precise, suppose v is a permutation in S n−1 with k − 1 descents. Then inserting n at the far left of v or in an ascent position of v creates a permutation w ∈ S n with k descents. There are n − 1 − (k − 1) = nk such positions.

Similarly, if v ∈ S n−1 already has k descents, then inserting n in a descent position of v or at the far right gives a permutation w ∈ S n with k descents. There are k + 1 such positions.

We have the following result.

Theorem 1.3 (The linear recurrence).

For any k and n > 0,

$$\displaystyle{{ n\abovewithdelims\langle \rangle 0.0pt k} = (n - k){n - 1\abovewithdelims\langle \rangle 0.0pt k - 1} + (k + 1){n - 1\abovewithdelims\langle \rangle 0.0pt k}. }$$
(1.7)

For example, with n = 4, k = 1, we have:

and so \({4\abovewithdelims\langle \rangle 0.0pt 1} = 3{3\abovewithdelims\langle \rangle 0.0pt 0} + 2{3\abovewithdelims\langle \rangle 0.0pt 1}\).

We can use the recurrence in Equation (1.7) to think of the triangle of Eulerian numbers as an edge-weighted version of Pascal’s triangle. See Figure 1.1.

Fig. 1.1
figure 1

Generating Eulerian numbers via the recurrence relation.

4 Eulerian polynomials

For fixed n, we define the nth Eulerian polynomial as the generating function for the Eulerian numbers \({n\abovewithdelims\langle \rangle 0.0pt k}\) as follows:

$$\displaystyle{ S_{n}(t) =\sum _{w\in S_{n}}t^{\mathop{\mathrm{des}}\nolimits (w)} =\sum _{ k=0}^{n-1}{n\abovewithdelims\langle \rangle 0.0pt k}t^{k}. }$$
(1.8)

For example, S 1(t) = 1, S 2(t) = 1 + t, S 3(t) = 1 + 4t + t 2, and S 4(t) = 1 + 11t + 11t 2 + t 3. We will define S 0(t) = 1 for convenience.

An immediate consequence of Theorem 1.3 is an identity that relates the Eulerian polynomial S n+1(t) to S n (t) and its derivative.

Since \(S_{n}(t) =\sum _{ k=0}^{n-1}{n\abovewithdelims\langle \rangle 0.0pt k} t^{k}\), we have \(S_{n}'(t) =\sum _{ k=1}^{n-1}k{n\abovewithdelims\langle \rangle 0.0pt k} t^{k-1}\). Thus,

$$\displaystyle\begin{array}{rcl} (1 + nt)S_{n}(t)& =& (1 + nt)\sum _{k=0}^{n-1}{n\abovewithdelims\langle \rangle 0.0pt k}t^{k}, {}\\ & =& \sum _{k=0}^{n-1}{n\abovewithdelims\langle \rangle 0.0pt k}t^{k} +\sum _{ k=1}^{n}n{ n\abovewithdelims\langle \rangle 0.0pt k - 1}t^{k}, {}\\ \end{array}$$

and

$$\displaystyle\begin{array}{rcl} t(1 - t)S'_{n}(t)& =& (t - t^{2})\sum _{ k=1}^{n-1}k{n\abovewithdelims\langle \rangle 0.0pt k}t^{k-1}, {}\\ & =& \sum _{k=1}^{n-1}k{n\abovewithdelims\langle \rangle 0.0pt k}t^{k} -\sum _{ k=1}^{n-1}(k - 1){ n\abovewithdelims\langle \rangle 0.0pt k - 1}t^{k}. {}\\ \end{array}$$

Adding these four sums, we get that the coefficient of t k in (1 + nt)S n (t) + t(1 − t)S n ′(t) is:

$$\displaystyle{(n + 1 - k){ n\abovewithdelims\langle \rangle 0.0pt k - 1} + (k + 1){n\abovewithdelims\langle \rangle 0.0pt k},}$$

which, by Theorem 1.3, equals \({n+1\abovewithdelims\langle \rangle 0.0pt k}\). Thus, we have the following result.

Theorem 1.4 (Linear polynomial recurrence).

For any n ≥ 0,

$$\displaystyle{ S_{n+1}(t) = (1 + nt)S_{n}(t) + t(1 - t)S'_{n}(t). }$$
(1.9)

5 Two important identities

As it is equivalent to the numeric recurrence, Theorem 1.4 does not give any new combinatorial insight into Eulerian numbers. However, sometimes having a combinatorial identity rephrased like this allows us to perform algebraic and analytic operations freely, and these operations can uncover new combinatorial information that we may not have guessed at otherwise. This approach to combinatorial identities is sometimes referred to as “manipulatorics” since it often boils down to formal manipulations of formulas. While it might not be as satisfying as a direct combinatorial explanation, it is nonetheless an important skill to have as a practitioner of the combinatorial arts. Sometimes it may be the only way we know how to prove a combinatorial identity.

In general, our preference for this book will be to give direct combinatorial explanations, but in some cases the manipulatorics approach is simpler, or allows for more elegant statements of results. As practice, let us now do some manipulatorics, starting with Theorem 1.4 and finishing with a truly interesting result known as Worpitzky’s identity (Corollary 1.2). We ask for a combinatorial proof of Worpitzky’s identity in Problem 1.13.

For n ≥ 0, define the function

$$\displaystyle{s_{n}(t) = (1 - t)^{n+1}\sum _{ k\geq 0}(k + 1)^{n}t^{k}.}$$

Then s 0 = 1 and it is straightforward to verify the identity

$$\displaystyle{s_{n+1}(t) = (1 + nt)s_{n}(t) + t(1 - t)s'_{n}(t).}$$

Thus, s n (t) = S n (t), and we have the following corollary, which we refer to as the Carlitz identity.

Corollary 1.1 (The Carlitz identity).

For any n ≥ 0,

$$\displaystyle{ \frac{S_{n}(t)} {(1 - t)^{n+1}} =\sum _{k\geq 0}(k + 1)^{n}t^{k}. }$$
(1.10)

But using the definition of S n (t) we have

$$\displaystyle{ \frac{S_{n}(t)} {(1 - t)^{n+1}} =\sum _{ i=0}^{n-1}{n\abovewithdelims\langle \rangle 0.0pt i} \left ( \frac{t^{i}} {(1 - t)^{n+1}}\right ),}$$

and recalling the expression for \(t^{i}/(1 - t)^{n+1}\) in Equation (1.3), we find:

$$\displaystyle\begin{array}{rcl} \frac{S_{n}(t)} {(1 - t)^{n+1}}& =& \sum _{i=0}^{n-1}{n\abovewithdelims\langle \rangle 0.0pt i} \sum _{k\geq 0}\binom{k + n - i}{n}t^{k}, {}\\ & =& \sum _{k\geq 0}\left (\sum _{i=0}^{n-1}{n\abovewithdelims\langle \rangle 0.0pt i} \binom{k + n - i}{n}\right )t^{k}. {}\\ \end{array}$$

By comparing with the formula in Equation (1.10) we get the following wonderful identity.

Corollary 1.2 (Worpitzky’s identity).

For any n ≥ 0,

$$\displaystyle{(k + 1)^{n} =\sum _{ i=0}^{n-1}{n\abovewithdelims\langle \rangle 0.0pt i} \binom{k + n - i}{n}.}$$

For example, with k = 3, n = 5, we get:

$$\displaystyle\begin{array}{rcl} 4^{5}& =&{ 5\abovewithdelims\langle \rangle 0.0pt 0}\binom{8}{5} +{ 5\abovewithdelims\langle \rangle 0.0pt 1}\binom{7}{5} +{ 5\abovewithdelims\langle \rangle 0.0pt 2}\binom{6}{5} +{ 5\abovewithdelims\langle \rangle 0.0pt 3}\binom{5}{5}, {}\\ & =& 1 \cdot 56 + 26 \cdot 21 + 66 \cdot 6 + 26 \cdot 1, {}\\ & =& 1024. {}\\ \end{array}$$

Using Worpitzky’s identity repeatedly, with k ≥ 0, gives us explicit formulas for the Eulerian numbers:

$$\displaystyle\begin{array}{rcl}{ n\abovewithdelims\langle \rangle 0.0pt 0} & =& 1, {}\\ {n\abovewithdelims\langle \rangle 0.0pt 1} & =& 2^{n} - (n + 1), {}\\ {n\abovewithdelims\langle \rangle 0.0pt 2} & =& 3^{n} -{ n\abovewithdelims\langle \rangle 0.0pt 1} \binom{n + 1}{n} -\binom{n + 2}{n}, {}\\ & =& 3^{n} - 2^{n}(n + 1) + (n + 1)^{2} -\binom{n + 2}{n}, {}\\ & =& 3^{n} - 2^{n}(n + 1) + \binom{n + 1}{n - 1}, {}\\ \vdots& & {}\\ \end{array}$$

Continuing in this way, we find the following formula.

Corollary 1.3 (Alternating sum formula).

The Eulerian numbers have the following formula for any n ≥ 1, k ≥ 0:

$$\displaystyle\begin{array}{rcl}{ n\abovewithdelims\langle \rangle 0.0pt k}& =& (k + 1)^{n} - k^{n}\binom{n + 1}{n} + (k - 1)^{n}\binom{n + 1}{n - 1} -\cdots. \\ & & +(-1)^{k}\binom{n + 1}{n + 1 - k}, \\ & =& \sum _{i=0}^{k}(-1)^{i}(k + 1 - i)^{n}\binom{n + 1}{n + 1 - i}, \\ & =& \sum _{i=0}^{k}(-1)^{i}(k + 1 - i)^{n}\binom{n + 1}{i}. {}\end{array}$$
(1.11)

6 Exponential generating function

We finish the chapter with a mixture of bijective combinatorics and manipulatorics to derive the exponential generating function for the Eulerian polynomials.

We begin with a simple, elegant way to generate permutations recursively. Recall that in deriving the linear recurrence in Theorem 1.3, we carefully examined how inserting a new largest number into a permutation affected descent numbers. This time, to form a permutation of n, we first choose which subset of the elements {1, 2, , n − 1} go to the left of n, which elements go to the right, and permute independently on the left and on the right. See Figure 1.2.

Fig. 1.2
figure 2

The idea behind Equation (1.12).

The number of descents in any permutation is one more than the sum of the descents to the left of n and the descents to the right of n. Let i denote the number of elements to the left of n. Then

$$\displaystyle{S_{i}(t) \cdot t \cdot S_{n-1-i}(t)}$$

is the generating function for descents of permutations with these same elements to the left of n. Of course, if there is nothing to the right of n, i.e., if i = n − 1, then we simply get the number of descents to the left of n. Summing over all i, we have the following quadratic recurrence for Eulerian polynomials.

Theorem 1.5 (Quadratic polynomial recurrence).

For any n > 0,

$$\displaystyle{ S_{n}(t) = S_{n-1}(t) + t\sum _{i=0}^{n-2}\binom{n - 1}{i}S_{ i}(t)S_{n-1-i}(t). }$$
(1.12)

The recurrence in Equation (1.12) now leads to a way to find an expression for the exponential generating function

$$\displaystyle{S(t,z):=\sum _{n\geq 0}S_{n}(t)\frac{z^{n}} {n!} =\sum _{n,k\geq 0}{n\abovewithdelims\langle \rangle 0.0pt k}t^{k}\frac{z^{n}} {n!}.}$$

Indeed, (1.12) gives:

$$\displaystyle\begin{array}{rcl} \frac{d} {dz}S(t,z)& =& \sum _{n\geq 1}S_{n}(t) \frac{z^{n-1}} {(n - 1)!}, {}\\ & =& \sum _{n\geq 1}S_{n-1}(t) \frac{z^{n-1}} {(n - 1)!} + t\sum _{n\geq 1}\sum _{i=0}^{n-2}\binom{n - 1}{i}S_{ i}(t)S_{n-1-i}(t) \frac{z^{n-1}} {(n - 1)!}, {}\\ & =& S(t,z) + t\sum _{n\geq 1}\sum _{i=0}^{n-2}S_{ i}(t)\frac{z^{i}} {i!} \cdot S_{n-1-i}(t) \frac{z^{n-1-i}} {(n - 1 - i)!}, {}\\ & =& S(t,z) + tS(t,z)(S(t,z) - 1)). {}\\ \end{array}$$

Solving the differential equation

$$\displaystyle{f'(z) = tf^{2}(z) + (1 - t)f(z),}$$

with initial condition f(0) = 1 gives us the following result, originally due to Euler.

Theorem 1.6 (Exponential generating function).

We have

$$\displaystyle{ S(t,z) = \frac{t - 1} {t - e^{z(t-1)}}. }$$
(1.13)

Those who don’t want to rely on solving a differential equation to derive this formula are encouraged to see Problem 1.15.

Notes

The reader looking for more details about the generating function approach to enumerative combinatorics would do well to read Richard Stanley’s classic work [154] and Herbert Wilf’s book [166]. The book by Philippe Flajolet and Robert Sedgewick [66] focuses on analytic methods for extracting information from generating functions, and part A gives a nice perspective on symbolic methods for constructing generating functions. An earlier book that also contains a wealth of information about the use of generating functions in combinatorial enumeration is John Riordan’s book [130].

The Eulerian numbers appear in a chapter of Euler’s textbook on differential calculus [64, Part II, Caput VII, pp. 389–390]. In this chapter, Euler essentially sets himself the task of solving the differential equation for the exponential generating function we have in Equation (1.13), and when expanding its series, he finds the Eulerian numbers, and mentions the alternating sum formula given in Equation (1.11). Dominique Foata has a lovely survey in which he explains Euler’s motivation and derivation [68]. Leonard Carlitz and his collaborators studied Eulerian numbers and their generalizations in several papers in the 20th century, e.g., [38, 39, 41, 43, 44], while Foata and Marcel-Paul Schützenberger wrote a then-comprehensive treatment of Eulerian numbers from a combinatorial point of view in [70]. From the 1980s onward, the number of scholarly articles on Eulerian numbers and their generalizations is too numerous to attempt to catalogue.

Most of the results in this chapter can be traced back to Carlitz or Riordan, though the Carlitz identity in Corollary 1.1 was known to Euler. We refer to it as the Carlitz identity because of a generalization of the identity obtained by Carlitz in 1975 [40], though even this generalization predates Carlitz—it can be found in Percy MacMahon’s textbook from 1915/16 [106]. According to Carlitz [38], Worpitzky’s identity (Corollary 1.2) dates from an 1883 paper by Julius Worpitzky [168], though Don Knuth [96, pp. 36] attributes the identity to an 1867 publication of Chinese mathematician Li Shan-Lan, and remarks that special cases for n ≤ 5 were known to Yoshisuke Matsunaga of Japan, who died in 1744.

Problems

1.1. A composition of n is an ordered list of positive integers whose sum is n, denoted α = (α 1, , α k ). Show that the number of compositions of n with k parts is \(\binom{n - 1}{k - 1}\).

1.2. How many compositions α of n have the following properties?

  1. 1.

    α has parts of size 1 and 2 only, e.g., for n = 9, (2, 1, 1, 2, 2, 1) is acceptable, but not (1, 2, 3, 1, 2).

  2. 2.

    α has only odd parts, e.g., for n = 9, (3, 1, 5) is acceptable, but not (1, 2, 1, 5).

  3. 3.

    α has all its parts greater than 1, except possibly the last entry, e.g., for n = 9, (3, 4, 2) and (3, 3, 2, 1) are acceptable, but not (3, 3, 1, 2).

1.3. Show that the Fibonacci numbers satisfy the following identity:

$$\displaystyle{ f_{n} =\sum _{k\geq 0}\binom{n - k}{k}. }$$
(1.14)

This can be quickly verified with Pascal’s recurrence and careful bookkeeping, but see if you can find a combinatorial argument using one of the sets of compositions in Problem 1.2.

1.4. For n ≥ 1, let ϕ n  = f n f n−1, where f n is the nth Fibonacci number. Using the Fibonacci recurrence, find a recurrence for ϕ n and use it to compute the limit:

$$\displaystyle{\phi =\lim _{n\rightarrow \infty }\phi _{n}.}$$

The number ϕ is sometimes called the golden ratio.

1.5. Let f(z) denote the ordinary generating function for the Fibonacci numbers, i.e.,

$$\displaystyle{f(z) = 1 + z + 2z^{2} + 3z^{3} + 5z^{4} + 8z^{5} + \cdots =\sum _{ k\geq 0}f_{k}z^{k},}$$

with f 0 = f 1 = 1 and f n  = f n−1 + f n−2 for n ≥ 2.

  1. 1.

    Write f(z) as

    $$\displaystyle{f(z) = \frac{1} {q(z)},}$$

    where q(z) is a quadratic polynomial. Hint: use the recurrence for the Fibonacci numbers to find an identity for f(z) of the form f(z)q(z) = 1.

  2. 2.

    Use the expression found in part 1 to give a “manipulatorics” proof of Equation (1.14).

  3. 3.

    Factor q(z) from part 1 as \(q(z) = (1 -\alpha z)(1 -\beta z)\), then find numbers A and B so that

    $$\displaystyle{f(z) = \frac{A} {1 -\alpha z} + \frac{B} {1 -\beta z}.}$$
  4. 4.

    Use part 3 to show

    $$\displaystyle{f_{n} = \frac{\phi ^{n+1} -\overline{\phi }^{n+1}} {\sqrt{5}},}$$

    where ϕ is the golden ratio found in Problem 1.4 and \(\overline{\phi }\) is the other root of the polynomial x 2x − 1.

1.6. Show that the following permutation statistics are Eulerian.

  1. 1.

    The number of ascents of a permutation w, \(\mathop{\mathrm{asc}}\nolimits (w) =\{ i: w(i) < w(i + 1)\}\), e.g., \(\mathop{\mathrm{asc}}\nolimits (1374265) = 3\).

  2. 2.

    The number of (maximal, increasing) runs of a permutation, denoted \(\mathop{\mathrm{runs}}\nolimits (w)\), where a maximal increasing run is a substring w(i) < w(i + 1) < ⋯ < w(i + r) such that w(i − 1) is not smaller than w(i) and w(i + r) is not smaller than w(i + r + 1). For example, \(\mathop{\mathrm{runs}}\nolimits (1374265) = 4\).

  3. 3.

    The number of readings of a permutation, denoted \(\mathop{\mathrm{read}}\nolimits (w)\). This is the number of times one must scan the one-line notation of w from left to right to find the numbers 1, 2, , n in order. For example with w = 1374265 we read through four times:

    $$\displaystyle{\begin{array}{c|ccccccc} \mbox{ times read}&1&3&7&4&2&6&5\\ \hline 1 &1 & & & &2 & & \\ 2 & &3& &4& & &5\\ 3 & & & & & &6 & \\ 4 & & &7\end{array} }$$

    so \(\mathop{\mathrm{read}}\nolimits (1374265) = 4\).

1.7. Show that the number of excedances, \(\mathop{\mathrm{exc}}\nolimits (w) =\{ i: w(i) > i\}\), is Eulerian.

1.8. An inversion sequence of length n is a vector

$$\displaystyle{s = (s_{1},\ldots,s_{n}),}$$

such that 0 ≤ s i  ≤ i − 1. Show that counting inversion sequences according to ascents (with \(\mathop{\mathrm{asc}}\nolimits (s) =\{ i: s_{i} < s_{i+1}\}\) as with permutations) gives rise to the Eulerian distribution, e.g., if n = 3, the inversion sequences and their ascent numbers are:

$$\displaystyle{\begin{array}{ c | c} s &\mathop{\mathrm{asc}}\nolimits (s) \\ \hline (0,0,0)& 0 \\ (0,0,1) & 1 \\ (0,0,2) & 1 \\ (0,1,0) & 1 \\ (0,1,1) & 1 \\ (0,1,2) & 2\end{array}.}$$

1.9. An increasing binary tree of size n is a rooted, planar tree with n internal nodes (internal means not a leaf) such that each internal node has two children: a left child and a right child. Further, the internal nodes are labeled with 1, 2, , n so that any path from the root to a leaf follows increasing labels. Show that counting the number of increasing binary trees of size n according to how many internal nodes are left children gives the Eulerian distribution. For example, with n = 3, we have following trees, whose internal left children are highlighted:

1.10. For any n and k = 0, 1, , n − 1, let \(\mathcal{R}_{n,k}\) denote the set of points (x 1, , x n ) in the unit cube whose sum is between k and k + 1, i.e.,

$$\displaystyle{k \leq x_{1} + \cdots + x_{n} \leq k + 1,}$$

with 0 ≤ x i  ≤ 1. What is the volume of \(\mathcal{R}_{n,k}\)?

1.11. The number of cyclic descents of a permutation w ∈ S n is the number of ordinary descents, plus one if w(n) > w(1). We denote this statistic by \(\mathop{\mathrm{cdes}}\nolimits (w)\). For example, \(\mathop{\mathrm{cdes}}\nolimits (31524) = 3\) and \(\mathop{\mathrm{cdes}}\nolimits (43152) = 3\), whereas \(\mathop{\mathrm{des}}\nolimits (31524) = 2\) and \(\mathop{\mathrm{des}}\nolimits (43152) = 3\). Show that

$$\displaystyle{\sum _{w\in S_{n}}t^{\mathop{\mathrm{cdes}}\nolimits (w)} = ntS_{ n-1}(t).}$$

1.12. Give a bijective proof that

$$\displaystyle{{n\abovewithdelims\langle \rangle 0.0pt 1} = 2^{n} - n - 1.}$$

1.13. Give a bijective proof of Worpitzky’s identity:

$$\displaystyle{(k + 1)^{n} =\sum _{ i=0}^{n-1}{n\abovewithdelims\langle \rangle 0.0pt i} \binom{k + n - i}{n}.}$$

Hint: interpret the left-hand side as counting the set of all integer vectors (a 1, a 2, , a n ), with 0 ≤ a i  ≤ k, and try to group these according to permutations of n by rearranging the sequence in weakly increasing order.

1.14. Give a combinatorial proof of the Carlitz identity in (1.10):

$$\displaystyle{ \frac{S_{n}(t)} {(1 - t)^{n+1}} =\sum _{k\geq 0}(k + 1)^{n}t^{k}.}$$

Hint: try the method of “balls in boxes” as follows. Clearly (k + 1)n is the number of ways to place n distinct (labeled) balls into k + 1 boxes. Try to partition the ways to put the balls into boxes according to permutations of n, and show that for a fixed permutation w in S n , the generating function for arrangements of ball boxes that correspond to w is:

$$\displaystyle{ \frac{t^{\mathop{\mathrm{des}}\nolimits (w)}} {(1 - t)^{n+1}}.}$$

1.15. Use the Carlitz identity (Equation (1.10)) to derive Equation (1.13). Hint: start with

$$\displaystyle{\sum _{n\geq 0} \frac{S_{n}(t)} {(1 - t)^{n+1}} \frac{z^{n}} {n!}.}$$