09.12.2012 Views

Concrete mathematics : a foundation for computer science

Concrete mathematics : a foundation for computer science

Concrete mathematics : a foundation for computer science

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Table 253 Stirling’s triangles in tandem.<br />

6.1 STIRLING NUMBERS 253<br />

n {:5} {_nq} {:3} {:2} {:1} {i} {Y} {I} {3} { a } {r}<br />

-5 1<br />

-4 10 1<br />

-3 35 6 1<br />

-2 50 11 3 1<br />

-1 24 6 2 1 1<br />

0 0 0 0 0 0 1<br />

1 0 0 0 0 0 0 1<br />

2 0 0 0 0 0 0 11<br />

3 0 0 0 0 0 0 13 1<br />

4 0 0 0 0 0 0 17 6 1<br />

5 0 0 0 0 0 0 115 25 10 1<br />

In fact, a surprisingly pretty pattern emerges: Stirling’s triangle <strong>for</strong> cycles<br />

appears above Stirling’s triangle <strong>for</strong> subsets, and vice versa! The two kinds<br />

of Stirling numbers are related by an extremely simple law:<br />

[I] = {I:}, integers k,n.<br />

We have “duality,” something like the relations between min and max, between<br />

1x1 and [xl, between XL and xK, between gcd and lcm. It’s easy to check that<br />

both of the recurrences [J = (n- 1) [“;‘I + [i;:] and {i} = k{n;‘} + {:I:}<br />

amount to the same thing, under this correspondence.<br />

6.2 EULERIAN NUMBERS<br />

Another triangle of values pops up now and again, this one due to<br />

Euler [88, page 4851, and we denote its elements by (E). The angle brackets<br />

in this case suggest “less than” and “greater than” signs; (E) is the number of<br />

permutations rr1 rr2 . . . rr, of {l ,2, . . . , n} that have k ascents, namely, k places<br />

where Xj < nj+l. (Caution: This notation is even less standard than our notations<br />

[t] , {i} <strong>for</strong> Stirling numbers. But we’ll see that it makes good sense.)<br />

For example, eleven permutations of {l ,2,3,4} have two ascents:<br />

1324, 1423, 2314, 2413, 3412;<br />

1243, 1342, 2341; 2134, 3124, 4123.<br />

(The first row lists the permutations with ~1 < 7~2 > 7r3 < 7~; the second row<br />

lists those with rrl < ~2 < 7~3 > 7~4 and ~1 > rr2 < 713 < 7r4.) Hence (42) = 11.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!