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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

246 SPECIAL NUMBERS<br />

There are eleven different ways to make two cycles from four elements: “There are nine<br />

and sixty ways<br />

[1,2,31 [41, [’ ,a41 Dl , [1,3,41 PI , [&3,4 [II, of constructing<br />

tribal lays,<br />

[1,3,21 [41, [’ ,4,21 Dl , P,4,31 PI , P,4,31 PI,<br />

And-every-single-<br />

P,21 [3,41, [’ ,31 P, 4 , [I,41 P,31; one-of-them-is-<br />

(W rjght,”<br />

hence [“;I = 11.<br />

-Rudyard Kipling<br />

A singleton cycle (that is, a cycle with only one element) is essentially<br />

the same as a singleton set (a set with only one element). Similarly, a 2-cycle<br />

is like a 2-set, because we have [A, B] = [B, A] just as {A, B} = {B, A}. But<br />

there are two diflerent 3-cycles, [A, B, C] and [A, C, B]. Notice, <strong>for</strong> example,<br />

that the eleven cycle pairs in (6.4) can be obtained from the seven set pairs<br />

in (6.1) by making two cycles from each of the 3-element sets.<br />

In general, n!/n = (n -- 1) ! cycles can be made from any n-element set,<br />

whenever n > 0. (There are n! permutations, and each cycle corresponds<br />

to n of them because any one of its elements can be listed first.) There<strong>for</strong>e<br />

we have<br />

n<br />

= (n-l)!, integer n > 0.<br />

[I 1<br />

This is much larger than the value {;} = 1 we had <strong>for</strong> Stirling subset numbers.<br />

In fact, it is easy to see that the cycle numbers must be at least as large as<br />

the subset numbers,<br />

integers n, k 3 0,<br />

[E] 3 {L}y<br />

because every partition into nonempty subsets leads to at least one arrangement<br />

of cycles.<br />

Equality holds in (6.6) when all the cycles are necessarily singletons or<br />

doubletons, because cycles are equivalent to subsets in such cases. This happens<br />

when k = n and when k = n - 1; hence<br />

[Z] = {iI}’ [nl:l] = {nil}<br />

In fact, it is easy to see that.<br />

[“n] = {II} = ” [nil] = {nnl} = ( I )<br />

(6.7)<br />

(The number of ways to arrange n objects into n - 1 cycles or subsets is<br />

the number of ways to choose the two objects that will be in the same cycle<br />

or subset.) The triangular numbers (;) = 1, 3, 6, 10, . . . are conspicuously<br />

present in both Table 244 and Table 245.

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

Saved successfully!

Ooh no, something went wrong!